nodebb-plugin-composer-default 10.2.11 → 10.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-composer-default",
3
- "version": "10.2.11",
3
+ "version": "10.2.12",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -455,7 +455,7 @@ define('composer', [
455
455
  var data = {
456
456
  topicTitle: title,
457
457
  titleLength: title.length,
458
- body: postData.body,
458
+ body: utils.escapeHTML(postData.body),
459
459
  mobile: composer.bsEnvironment === 'xs' || composer.bsEnvironment === 'sm',
460
460
  resizable: true,
461
461
  thumb: postData.thumb,