mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
fix when searching for "note.", closes #2889
This commit is contained in:
@@ -83,7 +83,7 @@ function lex(str) {
|
||||
continue;
|
||||
}
|
||||
else if (!quotes) {
|
||||
if (!fulltextEnded && currentWord === 'note' && chr === '.') {
|
||||
if (!fulltextEnded && currentWord === 'note' && chr === '.' && i + 1 < str.length) {
|
||||
fulltextEnded = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user