nodebb-plugin-composer-default 9.2.5 → 9.2.6

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": "9.2.5",
3
+ "version": "9.2.6",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -443,7 +443,7 @@ define('composer', [
443
443
  var data = {
444
444
  title: title,
445
445
  titleLength: title.length,
446
- body: postData.body,
446
+ body: utils.escapeHTML(postData.body),
447
447
  mobile: composer.bsEnvironment === 'xs' || composer.bsEnvironment === 'sm',
448
448
  resizable: true,
449
449
  thumb: postData.thumb,