mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #574
This commit is contained in:
parent
1cc8b55879
commit
e8f590402d
@ -760,7 +760,7 @@ class HTMLConverter(object):
|
||||
src = src.lstrip()
|
||||
f = src[0]
|
||||
next = 1
|
||||
if f in ("'", '"', u'\x8222', u'\x8216', u'\x8221', u'\x8217'):
|
||||
if f in ("'", '"', u'\u201c', u'\u2018', u'\u201d', u'\u2019'):
|
||||
if len(src) >= 2:
|
||||
next = 2
|
||||
f = src[:2]
|
||||
|
Loading…
x
Reference in New Issue
Block a user