mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Workaround for css-parser not serializing @supports rules correctly
This commit is contained in:
parent
5de21eddab
commit
4654159899
@ -77,6 +77,7 @@ def setup_css_parser_serialization(tab_width=2):
|
||||
prefs.indent = tab_width * ' '
|
||||
prefs.indentClosingBrace = False
|
||||
prefs.omitLastSemicolon = False
|
||||
prefs.formatUnknownAtRules = False # True breaks @supports rules
|
||||
|
||||
|
||||
def actual_case_for_name(container, name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user