diff --git a/utility.js b/utility.js index 92c9d05..365c7d5 100644 --- a/utility.js +++ b/utility.js @@ -103,7 +103,11 @@ module.exports = { stripIgnoreTag: true }); let replaceXSS = s => { - return xss.process(s); + s = xss.process(s); + if (s) { + s = `
${s}
`; + } + return s; }; let replaceUI = s => { if (noReplaceUI) return s;