-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<script> tagname handling #26
Comments
Set |
But that lowercases everything, you lose the original tag names. In any case thanks. btw: Some parts of the parser contain CI comparisons. [edit] ps: You want to put that option defaulted to true, any |
CI comparisons? That options slows parsing down in a noticeable way, plus it's not the default in the original htmlparser module. I want to keep backwards compatibility, at least in most cases. I also started working on a state machine compiler, but it's currently far from finished. (I open-sourced a first prototype, but there are still plenty of bugs.) When it's done, I'll implement a HTML5 parser ontop of it, which should be able to replace this project. That one will be standards compilant and hopefully match this parser's performance. |
Nvm, the case insensitive comparisons were result of that option you mentioned. [edit] I will check that project, thanks. [edit2] Btw, the npm module lists 2.3.0. The 2.3.1 was not released? |
I hate it when that happens. Anyway, there weren't any important changes, so I'm simply going to release the next version on npm. |
No two uppercase tags match, so it's not related to |
The
<script>
tagname is not case insensitive. A tag<SCRIPT>
will see anything starting with a<
as a new tag.Example: https://gist.github.com/3899198
The text was updated successfully, but these errors were encountered: