This commit is contained in:
gitkeniwo 2026-04-02 20:29:22 +02:00 committed by GitHub
commit 6a20a9ec1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,11 @@ function isTagChar(char: string): boolean {
return true;
}
return char === "_" || char === "-" || char === "/" || char === "&";
if (/\p{M}/u.test(char)) {
return true;
}
return char === "_" || char === "-" || char === "/" || char === "&" || char === "\u200D";
}
function parseTagsFromText(text: string): Array<{ type: "text"; value: string } | { type: "tag"; value: string }> {