node-htmlparser icon indicating copy to clipboard operation
node-htmlparser copied to clipboard

does not support attribute names without values

Open deanmao opened this issue 12 years ago • 1 comments

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 avatar May 02 '12 04:05 deanmao

FYI: this commit fixes this issue:

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

deanmao avatar May 04 '12 17:05 deanmao