mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -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 + ":"
|
txt += a + ":"
|
||||||
else:
|
else:
|
||||||
txt += a
|
txt += a
|
||||||
if " " in txt or "(" in txt or ")" in txt:
|
for chr in " ()":
|
||||||
|
if chr in txt:
|
||||||
txt = '"%s"' % txt
|
txt = '"%s"' % txt
|
||||||
|
break
|
||||||
items.append(txt)
|
items.append(txt)
|
||||||
txt = ""
|
txt = ""
|
||||||
txt = " ".join(items)
|
txt = " ".join(items)
|
||||||
|
|
Loading…
Reference in a new issue