Module: Rails::HTML::Concern::Scrubber::Full
- Included in:
- Rails::HTML4::FullSanitizer, Rails::HTML5::FullSanitizer
- Defined in:
- lib/rails/html/sanitizer.rb
Instance Method Summary collapse
Instance Method Details
#scrub(fragment, options = {}) ⇒ Object
59 60 61 |
# File 'lib/rails/html/sanitizer.rb', line 59 def scrub(fragment, = {}) fragment.scrub!(TextOnlyScrubber.new) end |