fix: dont strip tags

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 91c20ceca5
commit 792e9e703e

@ -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];
};

Loading…
Cancel
Save