mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
unwrapping doesn't work correctly if quotes are encoded as entities
This commit is contained in:
parent
70998858f1
commit
66b443adc5
@ -17,7 +17,6 @@ convert_entities = functools.partial(entity_to_unicode,
|
|||||||
result_exceptions = {
|
result_exceptions = {
|
||||||
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