-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
fix(tokenizer): Parse entities in <title> tags #614
Conversation
Beat you to it, hope that's alright! @billneff79 @cheeseandcereal Would love a review if you guys have a moment. |
"data": ["the \"title\""] | ||
}, | ||
{ | ||
"event": "closetag", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this event actually fired? I don't see a </title>
in the html string for this fixture
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parser will close all currently open tags at the end of the input.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled and tested locally, confirming fix. lgtm
Thanks a lot @cheeseandcereal! |
Awesome! Thanks @fb55 . My only thought is that it would be tidy and safe to have one more unit test to verify that title does not decode entities when |
Fixes #592.