mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
escape ideographic space
This commit is contained in:
parent
62a1382c0d
commit
a0afec9938
1 changed files with 4 additions and 2 deletions
|
@ -893,8 +893,10 @@ by clicking on one on the left."""))
|
|||
txt += a + ":"
|
||||
else:
|
||||
txt += a
|
||||
if " " in txt or "(" in txt or ")" in txt:
|
||||
txt = '"%s"' % txt
|
||||
for chr in " ()":
|
||||
if chr in txt:
|
||||
txt = '"%s"' % txt
|
||||
break
|
||||
items.append(txt)
|
||||
txt = ""
|
||||
txt = " ".join(items)
|
||||
|
|
Loading…
Reference in a new issue