1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2026-03-24 23:02:58 +00:00

Fix pluses not being decoded from the path

This commit is contained in:
2026-02-26 03:28:48 +04:00
parent 2829ac022f
commit 8194a84ef7

View File

@@ -102,7 +102,8 @@ export function resolveTagNameFromLink(tagLink: URL): string | null {
return decodeURIComponent(encodedTagName)
.replaceAll(/-[a-z]+-/gi, match => slugEncodedCharacters.get(match) ?? match)
.replaceAll('-', ' ');
.replaceAll('-', ' ')
.replaceAll('+', ' ');
}
/**