mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: dont strip tags
This commit is contained in:
@@ -91,7 +91,7 @@ SocketPosts.getPostSummaryByIndex = async function (socket, data) {
|
||||
throw new Error('[[error:no-privileges]]');
|
||||
}
|
||||
|
||||
const postsData = await posts.getPostSummaryByPids([pid], socket.uid, { stripTags: true });
|
||||
const postsData = await posts.getPostSummaryByPids([pid], socket.uid, { stripTags: false });
|
||||
return postsData[0];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user