mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix double escaping in title and og:title
This commit is contained in:
@@ -183,7 +183,7 @@ topicsController.get = function(req, res, callback) {
|
|||||||
res.locals.metaTags = [
|
res.locals.metaTags = [
|
||||||
{
|
{
|
||||||
name: "title",
|
name: "title",
|
||||||
content: topicData.title
|
content: topicData.titleRaw
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "description",
|
name: "description",
|
||||||
@@ -191,7 +191,7 @@ topicsController.get = function(req, res, callback) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: topicData.title
|
content: topicData.titleRaw
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:description',
|
property: 'og:description',
|
||||||
|
|||||||
Reference in New Issue
Block a user