Skip to content

Node.js based forum software built for the modern web

fix double escaping in title and og:title

barisusaklid067943773e6
diff --git a/src/controllers/topics.js b/src/controllers/topics.js
index 5c3728a428..7f9842ba03 100644
--- a/src/controllers/topics.js
+++ b/src/controllers/topics.js
@@ -183,7 +183,7 @@ topicsController.get = function(req, res, callback) {
res.locals.metaTags = [
{
name: "title",
- content: topicData.title
+ content: topicData.titleRaw
},
{
name: "description",
@@ -191,7 +191,7 @@ topicsController.get = function(req, res, callback) {
},
{
property: 'og:title',
- content: topicData.title
+ content: topicData.titleRaw
},
{
property: 'og:description',