# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/actionpack-3.0.9/lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 50 def sanitizeable?(text) !(text.nil? || text.empty? || !((text.index("<a") || text.index("<href")) && text.index(">"))) end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/actionpack-3.0.9/lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 55 def process_node(node, result, options) result << node.to_s unless node.is_a?(HTML::Tag) && included_tags.include?(node.name) end
Generated with the Darkfish Rdoc Generator 2.