mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-06-23 18:22:20 +00:00
Removed erroneous - → conversion for tag links
This commit is contained in:
@@ -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