Node.js based forum software built for the modern web
parse teasers as plain text
Barış Soner Uşaklıa8d41978e598
diff --git a/src/topics/teaser.js b/src/topics/teaser.jsindex 7336d0a0ae..3e091b03da 100644--- a/src/topics/teaser.js+++ b/src/topics/teaser.js@@ -68,7 +68,7 @@ module.exports = function (Topics) {post.timestampISO = utils.toISOString(post.timestamp);tidToPost[post.tid] = post;});- await Promise.all(postData.map(p => posts.parsePost(p)));+ await Promise.all(postData.map(p => posts.parsePost(p, 'plaintext')));const { tags } = await plugins.hooks.fire('filter:teasers.configureStripTags', {tags: utils.stripTags.slice(0),