# File lib/html/pipeline/filter.rb, line 116 def has_ancestor?(node, tags) while node = node.parent break true if tags.include?(node.name.downcase) end end