mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix #2856 (Greater than and less than symbols.)
This commit is contained in:
parent
eaccc173f2
commit
cbf5566328
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ def extract_content(self, output_dir, parse_cache):
|
|||
for pat in ENCODING_PATS:
|
||||
self.processed_html = pat.sub('', self.processed_html)
|
||||
e2u = functools.partial(entity_to_unicode,
|
||||
exceptions=['lt', 'gt', 'amp', 'apos', 'quot'])
|
||||
exceptions=['lt', 'gt', 'amp', 'apos', 'quot', '#60', '#62'])
|
||||
self.processed_html = re.sub(r'&(\S+?);', e2u,
|
||||
self.processed_html)
|
||||
self.extract_images(processed_records, output_dir)
|
||||
|
|
|
|||
Loading…
Reference in a new issue