taoqf / node-html-parser

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

closing parent tag not correctly when html in attribute #136

Closed KaninchenSpeed closed 3 years ago

KaninchenSpeed commented 3 years ago

The parser stops parsing the parent html tag when html tag in its attribute closes.

input html <a testArg="<a>test</a>" secondArg="some_thing">some test content</a>

output html <a testArg="<a>test</a>

taoqf commented 3 years ago

I am so sorry for that. This issue could not be resolved by now. It it an known issue as https://github.com/taoqf/node-html-parser/issues/51.