class Sanitize

def self.document(html, config = {})

{#fragment} instead.
error will be raised. If this is undesirable, you should probably use
When sanitizing a document, the `` element must be allowlisted or an

settings in _config_ if specified.
Returns a sanitized copy of the given full _html_ document, using the
def self.document(html, config = {})
  Sanitize.new(config).document(html)
end