parse teasers as plain text

This commit is contained in:
Barış Soner Uşaklı
2024-06-10 19:01:02 -04:00
parent eb6fe3397e
commit a8d41978e5

View File

@@ -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),