lib/html/proofer/checks/favicon.rb in html-proofer-1.4.0 vs lib/html/proofer/checks/favicon.rb in html-proofer-1.5.0

- old
+ new

@@ -7,11 +7,9 @@ end class Favicons < ::HTML::Proofer::Checks::Check def run - return unless @options[:favicon] - @html.xpath("//link[not(ancestor::pre or ancestor::code)]").each do |favicon| favicon = Favicon.new favicon, "favicon", self next if favicon.ignore? return if favicon.rel.split(" ").last.eql? "icon" end