diff --git a/src/middleware/middleware.js b/src/middleware/middleware.js index 508abcab39..e7ba9499cc 100644 --- a/src/middleware/middleware.js +++ b/src/middleware/middleware.js @@ -407,6 +407,7 @@ middleware.processRender = function(req, res, next) { } render.call(self, template, options, function(err, str) { + // str = str + ''; str = (res.locals.postHeader ? res.locals.postHeader : '') + str + (res.locals.preFooter ? res.locals.preFooter : ''); if (res.locals.footer) {