Flowdock
full_sanitizer() public

Gets the HTML::FullSanitizer instance used by strip_tags. Replace with any object that responds to sanitize.

  Rails::Initializer.run do |config|
    config.action_view.full_sanitizer = MySpecialSanitizer.new
  end
Show source
Register or log in to add new notes.