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:
Damien Elmes 2013-02-20 15:15:27 +09:00
parent fa07268763
commit 83cbace080

View file

@ -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)