Flowdock
white_list_sanitizer() public

Gets the HTML::WhiteListSanitizer instance used by sanitize and sanitize_css. Replace with any object that responds to sanitize.

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