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

querySelectorAll doesn't capture all img elements #204

Closed ahmadi3d closed 2 years ago

ahmadi3d commented 2 years ago

Here is an example showing this bug. https://codesandbox.io/s/node-html-parser-demo-forked-br52xl?file=/src/index.js

ahmadi3d commented 2 years ago

I just noticed that after upgrading to the 5.x version this problem is fixed.