Parser hangs on some input #61

Open
arnaud-lb opened this Issue Feb 25, 2013 · 0 comments

Projects

None yet

1 participant

@arnaud-lb

The parser hangs with 100% cpu usage when parsing this file.

This can be reproduced by cloning https://gist.github.com/ed8a5b157d8644d68ca7.git and running bug.js.

@arnaud-lb arnaud-lb added a commit to arnaud-lb/node-htmlparser that referenced this issue Feb 26, 2013
@arnaud-lb arnaud-lb fixed slow parsing caused by too many backtracking
fixes #61
0ead1d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment