patch to support doctype with test#48
Conversation
|
Thanks! I am going to merge your pull but expand it to generally support XML/HTML declarations of the type "<!" and "<?". Looking into that now... |
|
Also there was another small issue with attributes that had no values, . The "by-zero" part caused it
to think that it needed to wait for more data and would stop parsing the rest of the output. The commit below fixes it: I've been using your new 2.x parser with my fixes on lots of webpages now On Fri, May 4, 2012 at 6:14 AM, Chris Winberry <
|
[tokenizer] text in special tags there looks like a tag ending
|
This fix was merged with the following commit, but this pull request remains open. There is an issue with this fix that it fails to update the location correctly. It will increase the col based on the doctype data, but doesn't account for the text. To fix, add the following to the end of _updateLocation line 624 } else if (node.type === Mode.Doctype) { |
Hi, earlier I made an issue, but figured it would be more efficient if I just wrote the code. This is the issue:
#47