mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
fix: double sanitization
This commit is contained in:
@@ -287,6 +287,8 @@ Mocks.note = async (post) => {
|
||||
cc.add(followersUrl);
|
||||
}
|
||||
|
||||
const content = await posts.getPostField(post.pid, 'content');
|
||||
post.content = content; // re-send raw content
|
||||
const { postData: parsed } = await plugins.hooks.fire('filter:parse.post', {
|
||||
postData: post,
|
||||
type: 'activitypub.note',
|
||||
|
||||
Reference in New Issue
Block a user