From 792e9e703e927d8688db5aa74afa660873cde8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 6 Dec 2020 12:22:39 -0500 Subject: [PATCH] fix: dont strip tags --- src/socket.io/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index 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]; };