1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Better handle search queries that include dashes

This commit is contained in:
Laurent Cozic
2019-01-31 08:35:41 +00:00
parent 9e165fc7dc
commit 8c9a148e71
2 changed files with 23 additions and 0 deletions

View File

@ -355,6 +355,7 @@ class SearchEngine {
async search(query) {
query = this.normalizeText_(query);
query = query.replace(/-/g, ' '); // https://github.com/laurent22/joplin/issues/1075#issuecomment-459258856
const st = scriptType(query);