mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix when searching for "note.", closes #2889
This commit is contained in:
parent
7fa531b3d6
commit
0a4f419e5e
@ -83,7 +83,7 @@ function lex(str) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (!quotes) {
|
else if (!quotes) {
|
||||||
if (!fulltextEnded && currentWord === 'note' && chr === '.') {
|
if (!fulltextEnded && currentWord === 'note' && chr === '.' && i + 1 < str.length) {
|
||||||
fulltextEnded = true;
|
fulltextEnded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user