Methods
P
S
Instance Public methods
sanitizeable?(text)
# File actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 51
def sanitizeable?(text)
  !(text.nil? || text.empty? || !((text.index("<a") || text.index("<href")) && text.index(">")))
end
Instance Protected methods
process_node(node, result, options)
# File actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 56
def process_node(node, result, options)
  result << node.to_s unless node.is_a?(HTML::Tag) && included_tags.include?(node.name)
end