1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

All: Search: Integration to CLI and mobile apps

This commit is contained in:
Laurent Cozic
2019-01-19 18:03:05 +00:00
parent 42a674008f
commit 299008688d
6 changed files with 20 additions and 97 deletions

View File

@@ -328,7 +328,8 @@ class SearchEngine {
}
normalizeText_(text) {
return removeDiacritics(text.normalize().toLowerCase());
const normalizedText = text.normalize ? text.normalize() : text;
return removeDiacritics(normalizedText.toLowerCase());
}
normalizeNote_(note) {