Skip to content

Node.js based forum software built for the modern web

fix: #8869, dont escape category title,description twice

Barış Soner Uşaklı567c5f20568b
diff --git a/src/controllers/category.js b/src/controllers/category.js
index c19090a531..1815f67f1a 100644
--- a/src/controllers/category.js
+++ b/src/controllers/category.js
@@ -146,14 +146,17 @@ function addTags(categoryData, res) {
{
name: 'title',
content: categoryData.name,
+ noEscape: true,
},
{
property: 'og:title',
content: categoryData.name,
+ noEscape: true,
},
{
name: 'description',
content: categoryData.description,
+ noEscape: true,
},
{
property: 'og:type',