method

tokenize

rails latest stable - Class: HTML::WhiteListSanitizer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

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