method
tokenize
v4.1.8 -
Show latest stable
- Class:
HTML::WhiteListSanitizer
tokenize(text, options)protected
No documentation available.
# File actionview/lib/action_view/vendor/html-scanner/html/sanitizer.rb, line 146
def tokenize(text, options)
options[:parent] = []
options[:attributes] ||= allowed_attributes
options[:tags] ||= allowed_tags
super
end