class Loofah::Scrubbers::NoReferrer


=> “ohai! <a href=‘www.myswarmysite.com/’ rel=”noreferrer“>I like your blog post</a>”
Loofah.html5_fragment(link_farmers_markup).scrub!(:noreferrer)
link_farmers_markup = “ohai! <a href=‘www.myswarmysite.com/’>I like your blog post</a>”
:noreferrer adds a rel=“noreferrer” attribute to all links
=== scrub!(:noreferrer)

def initialize # rubocop:disable Lint/MissingSuper

rubocop:disable Lint/MissingSuper
def initialize # rubocop:disable Lint/MissingSuper
  @direction = :top_down
end

def scrub(node)

def scrub(node)
  return CONTINUE unless (node.type == Nokogiri::XML::Node::ELEMENT_NODE) && (node.name == "a")
  append_attribute(node, "rel", "noreferrer")
  STOP
end