fix: profile page meta tags getting escaped twice

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 9a7560049a
commit 7effc89291

@ -99,6 +99,7 @@ function addMetaTags(res, userData) {
{ {
name: 'title', name: 'title',
content: userData.fullname || userData.username, content: userData.fullname || userData.username,
noEscape: true,
}, },
{ {
name: 'description', name: 'description',
@ -107,6 +108,7 @@ function addMetaTags(res, userData) {
{ {
property: 'og:title', property: 'og:title',
content: userData.fullname || userData.username, content: userData.fullname || userData.username,
noEscape: true,
}, },
{ {
property: 'og:description', property: 'og:description',

Loading…
Cancel
Save