From 25911a8598d43bc61177142d09ae7d3de5ccca40 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 20 Jun 2009 22:42:14 -0400 Subject: [PATCH] FB2 Output: works again. --- src/calibre/ebooks/fb2/fb2ml.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py index 429e36eba2..76b9b9a758 100644 --- a/src/calibre/ebooks/fb2/fb2ml.py +++ b/src/calibre/ebooks/fb2/fb2ml.py @@ -82,10 +82,6 @@ class FB2MLizer(object): return images def clean_text(self, text): - for entity in set(re.findall('&.+?;', text)): - mo = re.search('(%s)' % entity[1:-1], text) - text = text.replace(entity, entity_to_unicode(mo)) - text = text.replace('&', '') return text