mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7ec5194d9b
commit
dd73b92990
@ -265,7 +265,8 @@ class CSSPreProcessor(object):
|
|||||||
|
|
||||||
PAGE_PAT = re.compile(r'@page[^{]*?{[^}]*?}')
|
PAGE_PAT = re.compile(r'@page[^{]*?{[^}]*?}')
|
||||||
# Remove some of the broken CSS Microsoft products
|
# Remove some of the broken CSS Microsoft products
|
||||||
# create
|
# create, slightly dangerous as it removes to end of line
|
||||||
|
# rather than semi-colon
|
||||||
MS_PAT = re.compile(r'^\s*(mso-|panose-).+?$',
|
MS_PAT = re.compile(r'^\s*(mso-|panose-).+?$',
|
||||||
re.MULTILINE|re.IGNORECASE)
|
re.MULTILINE|re.IGNORECASE)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user