From 10cfe0f87809db127d012dc4f937a1eaf1b68fdc Mon Sep 17 00:00:00 2001 From: Maximilian Martin Date: Tue, 12 Aug 2025 16:32:10 +0000 Subject: [PATCH] fix mismatched tag when URL in summary Signed-off-by: Maximilian Martin --- src/store/storeHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/storeHelper.js b/src/store/storeHelper.js index ad46244b1..206cbfd09 100644 --- a/src/store/storeHelper.js +++ b/src/store/storeHelper.js @@ -503,7 +503,7 @@ function searchSubTasks(task, searchQuery, filter) { * @return {object} The object containing the parsed results */ function parseString(str) { - const matches = str.matchAll(/\s?#([^\s#]+)/g) + const matches = str.matchAll(/(?:^|\s)+#([^\s#]+)/g) let summary = str const tags = [] for (const match of matches) {