changed to title raw

This commit is contained in:
Barış Soner Uşaklı
2016-02-18 20:26:09 +02:00
parent ef48b5d13e
commit 573840ccbd
5 changed files with 9 additions and 8 deletions

View File

@@ -58,7 +58,8 @@ module.exports = function(Topics) {
if (!topic) {
return;
}
topic.titleEscaped = validator.escape(topic.title);
topic.titleRaw = topic.title;
topic.title = validator.escape(topic.title);
topic.relativeTime = utils.toISOString(topic.timestamp);
topic.lastposttimeISO = utils.toISOString(topic.lastposttime);
}