nodebb-plugin-composer-default 9.1.0 → 9.1.1

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.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -256,7 +256,7 @@ define('composer/drafts', ['api', 'alerts'], function (api, alerts) {
256
256
  if (type === 'cid') {
257
257
  composer.newTopic({
258
258
  cid: id,
259
- title: draft.title,
259
+ title: utils.escapeHTML(draft.title),
260
260
  body: draft.text,
261
261
  tags: [],
262
262
  });