wjdp / htmltest

:white_check_mark: Test generated HTML for problems
MIT License
325 stars 54 forks source link

Make IgnoreTagAttribute ignore both the entire element and all its children #96

Closed wjdp closed 6 years ago

wjdp commented 6 years ago

The IgnoreTagAttribute used to only apply to the element it was applied to and was re-implemented on each check function.

Now we implement this check when we parse the document and completely ignore any element (and their children) where we find this attribute.

This PR implements #95