small fix to title escape

v1.18.x
barisusakli 11 years ago
parent 07275b5fc4
commit bf18e70d66

@ -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) {

Loading…
Cancel
Save