class HTMLProofer::UrlValidator::Internal

def hash_exists_in_html?(href_hash, html)

def hash_exists_in_html?(href_hash, html)
d_href_hash = Addressable::URI.unescape(href_hash)
nt_ids = [href_hash, decoded_href_hash]
fragments(fragment_ids, html).empty?