Flowdock
link_sanitizer() public

Gets the Rails::Html::LinkSanitizer instance used by strip_links. Replace with any object that responds to sanitize.

class Application < Rails::Application
  config.action_view.link_sanitizer = MySpecialSanitizer.new
end
Show source
Register or log in to add new notes.