mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
FB2 Output: works again.
This commit is contained in:
parent
e7314fe0ac
commit
25911a8598
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user