mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Removed erroneous - → conversion for tag links
This commit is contained in:
1 parent
726c4dfe58
commit
f01bfe8ae0
1 file changed
-1
@@ -102,7 +102,6 @@ export function resolveTagNameFromLink(tagLink: URL): string | null {
|
||||
|
||||
return decodeURIComponent(encodedTagName)
|
||||
.replaceAll(/-[a-z]+-/gi, match => slugEncodedCharacters.get(match) ?? match)
|
||||
.replaceAll('-', ' ')
|
||||
.replaceAll('+', ' ');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user