-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lazylex/html] Add lexer for attribute values
They can be double quoted, single quoted, or unquoted. This caught many errors of the form "foo=42&bar=2", instead of using & I guess HTML5 probably accepts that ... - Disallow \x00 to be prepare for re2c - it's the sentinel - This caught some problems in my corpus - Add tests around the assymetry of < and > - Technically we could be smarter here too? TODO: Do some tests around empty values: <p id=""> <p id=''> <p id=> <p id>
- Loading branch information
Andy C
committed
Jan 12, 2025
1 parent
32af775
commit bc413da
Showing
3 changed files
with
173 additions
and
46 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
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
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