taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.11k stars 107 forks source link

HTML considered invalid wrongly. #279

Open an0rak-dev opened 3 weeks ago

an0rak-dev commented 3 weeks ago

When trying to parse hte html from this page, calls to valid returns false and the HTML isn't parsed.

Further inspection shows that the call to base_parse returns a stack of length 21, let me thinking that the closing tags aren't appropriately detected.

I used version 6.1.13.