mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
unwrapping doesn't work correctly if quotes are encded as entities
This commit is contained in:
parent
19d7b21165
commit
70998858f1
@ -18,7 +18,6 @@ convert_entities = functools.partial(entity_to_unicode,
|
|||||||
u'<' : '<',
|
u'<' : '<',
|
||||||
u'>' : '>',
|
u'>' : '>',
|
||||||
u"'" : ''',
|
u"'" : ''',
|
||||||
u'"' : '"',
|
|
||||||
u'&' : '&',
|
u'&' : '&',
|
||||||
})
|
})
|
||||||
_span_pat = re.compile('<span.*?</span>', re.DOTALL|re.IGNORECASE)
|
_span_pat = re.compile('<span.*?</span>', re.DOTALL|re.IGNORECASE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user