mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
This commit is contained in:
@@ -57,7 +57,7 @@ topicsController.get = function(req, res, next) {
|
||||
var description = '';
|
||||
|
||||
if(topicData.posts.length) {
|
||||
description = S(topicData.posts[0].content).stripTags().s;
|
||||
description = S(topicData.posts[0].content).stripTags().decodeHTMLEntities().s;
|
||||
}
|
||||
|
||||
if (description.length > 255) {
|
||||
|
||||
Reference in New Issue
Block a user