class Rails::HTML::Sanitizer

def properly_encode(fragment, options)

def properly_encode(fragment, options)
  fragment.xml? ? fragment.to_xml(options) : fragment.to_html(options)
end