mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -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.indent = tab_width * ' '
|
||||||
prefs.indentClosingBrace = False
|
prefs.indentClosingBrace = False
|
||||||
prefs.omitLastSemicolon = False
|
prefs.omitLastSemicolon = False
|
||||||
|
prefs.formatUnknownAtRules = False # True breaks @supports rules
|
||||||
|
|
||||||
|
|
||||||
def actual_case_for_name(container, name):
|
def actual_case_for_name(container, name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user