-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When tinycss2 fails to parse, we use a regex rewriter to (trying to) rewrite url in the css. In case of invalid css tinycss2 doesn't not failed on parsing, but generate a ParserError token https://doc.courtbouillon.org/tinycss2/stable/api_reference.html?highlight=parser#tinycss2.ast.ParseError This is on serialization that exception occurs. We even try/except all transformation to be sure. Fix #155
- Loading branch information
1 parent
8a8a402
commit 1fe30b7
Showing
2 changed files
with
125 additions
and
17 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