Node.js based forum software built for the modern web
escape post content
barisusakli10928ed11b9e
diff --git a/src/posts/summary.js b/src/posts/summary.jsindex dd537ce8d6..962a51aaa6 100644--- a/src/posts/summary.js+++ b/src/posts/summary.js@@ -82,6 +82,7 @@ module.exports = function(Posts) {if (options.stripTags) {post.content = stripTags(post.content);}+ post.content = post.content ? validator.escape(post.content) : post.content;return next(null, post);}