Node.js based forum software built for the modern web
fix: dont strip tags
Barış Soner Uşaklı792e9e703e92
diff --git a/src/socket.io/posts.js b/src/socket.io/posts.jsindex 6df687ed14..27930e3824 100644--- a/src/socket.io/posts.js+++ b/src/socket.io/posts.js@@ -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];};