# File lib/loofah/scrubbers.rb, line 178 def scrub(node) return CONTINUE unless (node.type == Nokogiri::XML::Node::ELEMENT_NODE) && (node.name == 'a') node.set_attribute('rel', 'nofollow') return STOP end