mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-12 15:18:27 -05:00
Merge remote-tracking branch 'origin/stable'
# Conflicts: # package-lock.json # package.json
This commit is contained in:
@@ -21,8 +21,8 @@ function lex(str) {
|
||||
}
|
||||
}
|
||||
|
||||
function finishWord(endIndex) {
|
||||
if (currentWord === '') {
|
||||
function finishWord(endIndex, createAlsoForEmptyWords = false) {
|
||||
if (currentWord === '' && !createAlsoForEmptyWords) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ function lex(str) {
|
||||
}
|
||||
}
|
||||
else if (quotes === chr) {
|
||||
finishWord(i - 1);
|
||||
finishWord(i - 1, true);
|
||||
|
||||
quotes = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user