tautologistics / node-htmlparser

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

'>' char used inside attribute value is matched by parser incorrectly as closing whole tag section #77

Open DanielMazurkiewicz opened 8 years ago

DanielMazurkiewicz commented 8 years ago

Example: <memo if="i>1">...</memo>

michaelgallaghertw commented 6 years ago

for anyone interested - to solve this problem I switched to https://github.com/fb55/htmlparser2 which doesn't have this issue and follows almost the same interface.