v1.18.x
barisusakli 10 years ago
parent e8afe329a9
commit da5909349b

@ -210,7 +210,7 @@ define('composer', [
push({ push({
tid: tid, tid: tid,
toPid: pid, toPid: pid,
title: title, title: $('<div/>').text(title).html(),
body: translated, body: translated,
modified: false, modified: false,
isMain: false, isMain: false,
@ -230,7 +230,7 @@ define('composer', [
pid: pid, pid: pid,
uid: threadData.uid, uid: threadData.uid,
handle: threadData.handle, handle: threadData.handle,
title: $('<div/>').html(threadData.title).text(), title: threadData.title,
body: threadData.body, body: threadData.body,
modified: false, modified: false,
isMain: threadData.isMain, isMain: threadData.isMain,
@ -304,7 +304,7 @@ define('composer', [
// https://github.com/NodeBB/NodeBB/issues/1951 // https://github.com/NodeBB/NodeBB/issues/1951
// remove when 1951 is resolved // remove when 1951 is resolved
var title = $('<div/>').text(postData.title).html().replace(/%/g, '&#37;').replace(/,/g, '&#44;'); var title = postData.title.replace(/%/g, '&#37;').replace(/,/g, '&#44;');
var data = { var data = {
title: title, title: title,

Loading…
Cancel
Save