-
-
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] Working on <script> <style>
The data inside them is CDATA. This is actually a lexer mode ... We just skip everything until </script> </style>. There can't be more tags between them. We also allow unescaped < > &, although we also have to respect <script> too. I noticed that > is allowed in raw data, but not <. Hm.
- Loading branch information
Andy C
committed
Jan 7, 2025
1 parent
39ea432
commit 09e8d9a
Showing
2 changed files
with
66 additions
and
34 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