From 8194a84ef7254fbf926cd0fe5780dd9f3b00d12d Mon Sep 17 00:00:00 2001 From: KoloMl Date: Thu, 26 Feb 2026 03:28:48 +0400 Subject: [PATCH] Fix pluses not being decoded from the path --- src/lib/booru/tag-utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/booru/tag-utils.ts b/src/lib/booru/tag-utils.ts index ca110b7..228c7a3 100644 --- a/src/lib/booru/tag-utils.ts +++ b/src/lib/booru/tag-utils.ts @@ -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('+', ' '); } /**