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 token += c
else: else:
inQuote = c inQuote = c
# separator # separator (space and ideographic space)
elif c == " ": elif c in (" ", u'\u3000'):
if inQuote: if inQuote:
token += c token += c
elif token: elif token: