From a8d41978e598de5e80ac7020b1942003c53d0b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 10 Jun 2024 19:01:02 -0400 Subject: [PATCH] parse teasers as plain text --- src/topics/teaser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/teaser.js b/src/topics/teaser.js index 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),