mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
add support for ideographic space in card search browser
This commit is contained in:
parent
06b61fc2c7
commit
6877cb0393
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue