Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

does not support attribute names without values #49

Open
deanmao opened this Issue May 2, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

deanmao commented May 2, 2012

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.

Contributor

deanmao commented May 4, 2012

FYI: this commit fixes this issue:

deanmao/node-htmlparser@fdcdd0a

@AndreasMadsen AndreasMadsen referenced this issue in AndreasMadsen/htmlparser2 Jun 7, 2013

@fb55 fb55 Merge pull request #49 from AndreasMadsen/long-comment
[tokenizer] don't reset comment state in case of long endings
623cd89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment