mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +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]]'); | 		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]; | 	return postsData[0]; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user