mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
if deck contains brackets, escape search string
This commit is contained in:
parent
06abd253df
commit
4bdf673f0c
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ by clicking on one on the left."""))
|
||||||
txt += a + ":"
|
txt += a + ":"
|
||||||
else:
|
else:
|
||||||
txt += a
|
txt += a
|
||||||
if " " in txt:
|
if " " in txt or "(" in txt or ")" in txt:
|
||||||
txt = "'%s'" % txt
|
txt = "'%s'" % txt
|
||||||
items.append(txt)
|
items.append(txt)
|
||||||
txt = ""
|
txt = ""
|
||||||
|
|
Loading…
Reference in a new issue