tautologistics/node-htmlparser — pull request #55 by papandreou (2012-09-14 08:42:29+00:00)
Title: 1.x: Fixed parsing of a tag as the first thing inside script

Hi!

When a

```

... which makes the `Text` element come out as `div>

`.

The above is also included as a test case.

I ran into this issue with jsdom, which still uses htmlparser 1.x.