diff --git a/src/controllers/topics.js b/src/controllers/topics.js index 58ca059502..442799e56a 100644 --- a/src/controllers/topics.js +++ b/src/controllers/topics.js @@ -209,8 +209,8 @@ async function addTags(topicData, req, res, currentPage) { description = utils.stripHTMLTags(utils.decodeHTMLEntities(postAtIndex.content)); } - if (description.length > 255) { - description = `${description.slice(0, 255)}...`; + if (description.length > 160) { + description = `${description.slice(0, 160)}...`; } description = description.replace(/\n/g, ' ');