forked from MyIntervals/emogrifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Allow @charset without error
Filter out `@charset` at-rules from the CSS before processing, to avoid an error when presented with CSS containing this at-rule. Obviously this does not mean `@charset` is supported - its value is still ignored - but does address the immediate error in MyIntervals#296. Added PHPUnit test like that for `@import`, and also test that such CSS content does not prevent Emogrifier working correctly on the remainder of the CSS.
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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