servo / html5ever

High-performance browser-grade HTML5 parser
Other
2.14k stars 222 forks source link

simple example of how to normalize and fix common errors in html #504

Open ultrasaurus opened 1 year ago

ultrasaurus commented 1 year ago

Interested in adding a simple example like this?

I figured this out digging through test code and experimenting. I thought others might benefit from an example like this.

If you want to add this (or something like it) to the project, I'm happy to make changes based on feedback.