add support for ideographic space in card search browser

This commit is contained in:
Paul Hartmann 2014-07-03 18:44:35 +02:00
parent 06b61fc2c7
commit 6877cb0393

View file

@ -91,8 +91,8 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds
token += c
else:
inQuote = c
# separator
elif c == " ":
# separator (space and ideographic space)
elif c in (" ", u'\u3000'):
if inQuote:
token += c
elif token: