full_sanitizer() public

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

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