class Sanitize
def fragment(html)
def fragment(html) return '' unless html html = preprocess(html) frag = Nokogiri::HTML5.fragment(html) node!(frag) to_html(frag) end
def fragment(html) return '' unless html html = preprocess(html) frag = Nokogiri::HTML5.fragment(html) node!(frag) to_html(frag) end