From 9a366a92d96cda1850a10352b21991cb26e67b25 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 28 Sep 2011 09:29:25 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/conversion/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index eabeba7b4f..cbc8b41529 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -315,7 +315,7 @@ class HeuristicProcessor(object): supports a range of html markup and text files ''' # define the pieces of the regex - + lookahead = "(?<=.{"+str(length)+u"}([a-zäëïöüàèìòùáćéíĺóŕńśúýâêîôûçąężıãõñæøþðßěľščťžňďřů,:“”)\IA\u00DF]|(?]*>\s*\s*', '

', html) html = self.detect_whitespace(html) html = self.detect_soft_breaks(html)