From dd73b929907ba737fad3105732fc2b6dae81a929 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Feb 2011 15:50:23 -0700 Subject: [PATCH] ... --- src/calibre/ebooks/conversion/preprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/conversion/preprocess.py b/src/calibre/ebooks/conversion/preprocess.py index 14bfceac40..5f6402f746 100644 --- a/src/calibre/ebooks/conversion/preprocess.py +++ b/src/calibre/ebooks/conversion/preprocess.py @@ -265,7 +265,8 @@ class CSSPreProcessor(object): PAGE_PAT = re.compile(r'@page[^{]*?{[^}]*?}') # 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-).+?$', re.MULTILINE|re.IGNORECASE)