mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
use double quotes for browser search quoting (#623)
when I did a search of AW decks a while back, double quotes were far less prevalent than single quotes. ideally we'll add a way of quoting them in the future.
This commit is contained in:
parent
fa07268763
commit
83cbace080
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ by clicking on one on the left."""))
|
|||
else:
|
||||
txt += a
|
||||
if " " in txt or "(" in txt or ")" in txt:
|
||||
txt = "'%s'" % txt
|
||||
txt = '"%s"' % txt
|
||||
items.append(txt)
|
||||
txt = ""
|
||||
txt = " ".join(items)
|
||||
|
|
Loading…
Reference in a new issue