mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 09:12:34 -04:00
FB2 Output: works again.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user