From 364c6101ec221800e3b5fd288e25a5679fb27d05 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 25 Aug 2010 08:24:02 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/fb2/fb2ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py index d57389445c..fb3c7f34f7 100644 --- a/src/calibre/ebooks/fb2/fb2ml.py +++ b/src/calibre/ebooks/fb2/fb2ml.py @@ -91,7 +91,7 @@ class FB2MLizer(object): return u'\n%s' % etree.tostring(etree.fromstring(output), encoding=unicode, pretty_print=True) def clean_text(self, text): - text = re.sub('

\s*

', '', text) + text = re.sub(r'

\s*

', '', text) return text