class Sanitize

def fragment(html)

Returns a sanitized copy of the given _html_ fragment.
def fragment(html)
  return '' unless html
  html = preprocess(html)
  frag  = Nokogiri::HTML5.fragment(html)
  node!(frag)
  to_html(frag)
end