Fix pluses not being decoded from the path

This commit is contained in:
koloml committed 2026-02-26 03:28:48 +04:00
1 parent 2829ac022f
commit 8194a84ef7
1 file changed
+2 -1
+2 -1
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('+', ' ');
}
/**