mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-composer-default.git
synced 2025-10-04 04:41:20 +08:00
add translator escape
This commit is contained in:
parent
23d761045b
commit
253a1db840
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ define('composer', [
|
|||
var data = {
|
||||
topicTitle: title,
|
||||
titleLength: title.length,
|
||||
body: utils.escapeHTML(postData.body),
|
||||
body: translator.escape(utils.escapeHTML(postData.body)),
|
||||
mobile: composer.bsEnvironment === 'xs' || composer.bsEnvironment === 'sm',
|
||||
resizable: true,
|
||||
thumb: postData.thumb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue