method
full_sanitizer
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActionView::Helpers::SanitizeHelper::ClassMethods
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