method
white_list_sanitizer
v5.2.3 -
Show latest stable
- Class:
ActionView::Helpers::SanitizeHelper::ClassMethods
white_list_sanitizer()public
Gets the Rails::Html::WhiteListSanitizer instance used by sanitize and sanitize_css. Replace with any object that responds to sanitize.
class Application < Rails::Application config.action_view.white_list_sanitizer = MySpecialSanitizer.new end