diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index ba9feff4f7..91de2dc259 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -119,7 +119,7 @@ class PreProcessor(object): # If more than 40% of the lines are empty paragraphs then delete them to clean up spacing linereg = re.compile('(?<=
)', re.IGNORECASE|re.DOTALL)
- blankreg = re.compile(r'\s*(?P ]*>)\s*(<(b|i|u)>)?\s*((b|i|u)>)?\s*(?P ]*>)\s*(?P ]*>\s*(<(b|i|u)>)?\s*((b|i|u)>)?\s*