module Rails::HTML::Concern::Parser::HTML5

Public Instance Methods

parse_fragment(html) click to toggle source
# File lib/rails/html/sanitizer.rb, line 55
def parse_fragment(html)
  Loofah.html5_fragment(html)
end