method
sanitizeable?
sanitizeable?(text)
public
Hide source
# File actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb, line 47 def sanitizeable?(text) !(text.nil? || text.empty? || !((text.index("<a") || text.index("<href")) && text.index(">"))) end