From fbcd160efd6fc7568e1bb65c3a05b69083248d50 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Wed, 4 Sep 2024 18:15:01 +0400 Subject: [PATCH] Disabled beautification of tags in the frontend --- static/skin/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/skin/index.js b/static/skin/index.js index 28a452d2b..13359cbcf 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -121,9 +121,9 @@ function generateTagLink(tagValue) { tagValue = tagValue.toLowerCase(); - const humanFriendlyTagValue = humanFriendlyTitle(tagValue); - const tagMessage = $t("filter-by-tag", {TAG: humanFriendlyTagValue}); - return `${humanFriendlyTagValue}` + const htmlEncodedTagValue = htmlEncode(tagValue); + const tagMessage = $t("filter-by-tag", {TAG: tagValue}); + return `${htmlEncodedTagValue}` } function generateBookHtml(book, sort = false) {