Merge pull request #85 from bastik/ideographic-space

add support for ideographic space in card search browser
This commit is contained in:
Damien Elmes 2014-07-04 09:01:46 +09:00
commit 653f001da0

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: