class HTMLProofer::Element
def ancestors_ignorable?
def ancestors_ignorable? ors_attributes = @node.ancestors.map { |a| a.respond_to?(:attributes) && a.attributes } ors_attributes.pop # remove document at the end ors_attributes.any? { |a| !a["data-proofer-ignore"].nil? }