Skip to content

Node.js based forum software built for the modern web

fix: #11702, don't escape backgroundImage twice

Barış Soner Uşaklı6740a51edf41
diff --git a/src/controllers/category.js b/src/controllers/category.js
index 1c3a7d8f82..44755f2f7f 100644
--- a/src/controllers/category.js
+++ b/src/controllers/category.js
@@ -189,6 +189,7 @@ function addTags(categoryData, res) {
res.locals.metaTags.push({
property: 'og:image',
content: categoryData.backgroundImage,
+ noEscape: true,
});
}