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; }