mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 07:40:43 +01:00
parse teasers as plain text
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user