tautologistics / node-htmlparser

Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers
MIT License
1.15k stars 139 forks source link

does not support attribute names without values #49

Open deanmao opened 12 years ago

deanmao commented 12 years ago

example:

<div by-zero name="something">

If a tag like this appears anywhere in the html, the parsing stops shortly after a tag like this. I saw this tag in the reddit source code where my code bombed.

deanmao commented 12 years ago

FYI: this commit fixes this issue:

https://github.com/deanmao/node-htmlparser/commit/fdcdd0a3f421e7ca28aa10816b79e5d78b1cfba8