Class Index [+]

Quicksearch

HTML::LinkSanitizer

Public Instance Methods

sanitizeable?(text) click to toggle source
    # File lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 50
50:     def sanitizeable?(text)
51:       !(text.nil? || text.empty? || !((text.index("<a") || text.index("<href")) && text.index(">")))
52:     end

Protected Instance Methods

process_node(node, result, options) click to toggle source
    # File lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 55
55:     def process_node(node, result, options)
56:       result << node.to_s unless node.is_a?(HTML::Tag) && included_tags.include?(node.name)
57:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.