mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-06 05:04:06 +01:00
Fix #574
This commit is contained in:
parent
1cc8b55879
commit
e8f590402d
1 changed files with 1 additions and 1 deletions
|
|
@ -760,7 +760,7 @@ def add_text(self, tag, css, pseudo_css, force_span_use=False):
|
|||
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…
Reference in a new issue