From cde90c13c4da568ca3a2227946c55809d5f33da1 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Thu, 11 Jan 2024 15:38:33 +0100 Subject: [PATCH] Fix wildcards being cut off after colon Fixes #267 --- javascript/ext_wildcards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ext_wildcards.js b/javascript/ext_wildcards.js index 5762e8d..98c365a 100644 --- a/javascript/ext_wildcards.js +++ b/javascript/ext_wildcards.js @@ -153,7 +153,7 @@ function sanitize(tagType, text) { if (tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard) { return `__${text}__`; } else if (tagType === ResultType.wildcardTag) { - return text.replace(/^.*?: /g, ""); + return text; } return null; }