Module: Loofah::Helpers::ActionView::ClassMethods
- Defined in:
- lib/loofah/helpers.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#full_sanitizer ⇒ Object
46 47 48 |
# File 'lib/loofah/helpers.rb', line 46 def full_sanitizer @full_sanitizer ||= ::Loofah::Helpers::ActionView::FullSanitizer.new end |
#safe_list_sanitizer ⇒ Object
50 51 52 |
# File 'lib/loofah/helpers.rb', line 50 def safe_list_sanitizer @safe_list_sanitizer ||= ::Loofah::Helpers::ActionView::SafeListSanitizer.new end |
#white_list_sanitizer ⇒ Object
54 55 56 57 |
# File 'lib/loofah/helpers.rb', line 54 def white_list_sanitizer warn "warning: white_list_sanitizer is deprecated, please use safe_list_sanitizer instead." safe_list_sanitizer end |