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