Ahh, of course!

> Den 01/07/2013 kl. 18.25 skrev Rafael Mendonça França <notifications@github.com>:
> 
> In actionview/lib/action_view/helpers/sanitize_helper/sanitizers.rb:
> 
> > +    def sanitize(html, options = {})
> > +      return nil unless html
> > +      validate_options(options)
> > +
> > +      loofah_fragment = Loofah.fragment(html)
> > +      loofah_fragment.scrub!(:strip)
> > +      loofah_fragment.xpath("./form").each { |form| form.remove }
> > +      loofah_fragment.to_s
> > +    end
> > +
> > +    def sanitize_css(style_string)
> > +      Loofah::HTML5::Scrub.scrub_css style_string
> > +    end
> > +
> > +    def protocol_separator
> > +      ActiveSupport::Deprecation.warn('protocol_separator has been deprecated and has no effect.')
> We can call self.class.protocol_separator here and in all the deprecated instance methods to avoid duplication.
> 
> —
> Reply to this email directly or view it on GitHub.