mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
This commit is contained in:
@@ -57,7 +57,7 @@ topicsController.get = function(req, res, next) {
|
|||||||
var description = '';
|
var description = '';
|
||||||
|
|
||||||
if(topicData.posts.length) {
|
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) {
|
if (description.length > 255) {
|
||||||
|
|||||||
Reference in New Issue
Block a user