small fix to title escape

This commit is contained in:
barisusakli
2014-06-14 13:55:06 -04:00
parent 07275b5fc4
commit bf18e70d66

View File

@@ -148,7 +148,7 @@ define('composer', ['taskbar', 'composer/controls', 'composer/uploads', 'compose
push({
pid: pid,
title: threadData.title,
title: $('<div/>').html(threadData.title).text(),
body: threadData.body,
modified: false,
isMain: threadData.isMain,
@@ -208,8 +208,6 @@ define('composer', ['taskbar', 'composer/controls', 'composer/uploads', 'compose
bodyEl = postContainer.find('textarea'),
draft = drafts.getDraft(postData.save_id);
postData.title = $('<div></div>').text(postData.title).html();
updateTitle(postData, postContainer);
if (allowTopicsThumbnail) {