Open
Description
TL;DR: would the owners of this repo be open to introduce a new API to validate
a given HTML page or fragment?
Today the parser fixes internally the tree for you (incorrect self closing tags, missing tags, etc), giving you the already fixed tree.
I've been trying to find a good HTML validator, but the only one that is spec compliant is the one from W3C which is written in Java and found only as a service which is very inconvenient for most uses.
I believe given that this is the most used/compliant HTML parser, should be pretty straightforward to add HTML validation
Rather than creating a fork I would gladly do a PR if there is no opposition to this feature.
Thoughts?