-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make U+0000 a parse error in bogus comment and bogus DOCTYPE states
Also make sure to reconsume instead of switching to the bogus DOCTYPE state so that a U+0000 that causes the parser to enter the bogus DOCTYPE state is itself caught as a parse error. Fixes #2684. Tests: html5lib/html5lib-tests#103
- Loading branch information
Showing
1 changed file
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters