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