v1.18.x
Barış Soner Uşaklı 7 years ago
parent 5d45f9fff2
commit ce3e1f31ab

@ -60,7 +60,7 @@ module.exports = function (middleware) {
bodyClass: data.bodyClass, bodyClass: data.bodyClass,
}; };
templateValues.configJSON = JSON.stringify(res.locals.config); templateValues.configJSON = JSON.stringify(res.locals.config).replace(/\\"/g, '\\\\"').replace(/'/g, '\\\'').replace(/<\//g, '<\\/');
async.waterfall([ async.waterfall([
function (next) { function (next) {

Loading…
Cancel
Save