mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
[SNBOutput] Also strip \u3000 (Full Mode space character in Chinese)
This commit is contained in:
parent
63bb69d4ec
commit
424e69f599
@ -96,7 +96,7 @@ class SNBMLizer(object):
|
|||||||
|
|
||||||
subitem = ''
|
subitem = ''
|
||||||
for line in output.splitlines():
|
for line in output.splitlines():
|
||||||
line = line.strip(' \t\n\r')
|
line = line.strip(u' \t\n\r\u3000')
|
||||||
if len(line) != 0:
|
if len(line) != 0:
|
||||||
if line.find(CALIBRE_SNB_IMG_TAG) == 0:
|
if line.find(CALIBRE_SNB_IMG_TAG) == 0:
|
||||||
prefix = ProcessFileName(os.path.dirname(self.item.href))
|
prefix = ProcessFileName(os.path.dirname(self.item.href))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user