nodebb-plugin-composer-default 10.0.14 → 10.0.16

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/library.js CHANGED
@@ -179,7 +179,7 @@ plugin.filterComposerBuild = async function (hookData) {
179
179
  }
180
180
  globalPrivileges['topics:tag'] = canTagTopics;
181
181
  const cid = parseInt(req.query.cid, 10);
182
- const topicTitle = topicData && topicData.title ? topicData.title.replace(/%/g, '%').replace(/,/g, ',') : (req.query.title || '');
182
+ const topicTitle = topicData && topicData.title ? topicData.title.replace(/%/g, '%').replace(/,/g, ',') : validator.escape(String(req.query.title || ''));
183
183
  return {
184
184
  req: req,
185
185
  res: res,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-composer-default",
3
- "version": "10.0.14",
3
+ "version": "10.0.16",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -473,7 +473,7 @@
473
473
  }
474
474
  }
475
475
 
476
- @include media-breakpoint-down(sm) {
476
+ @include media-breakpoint-down(md) {
477
477
  html.composing {
478
478
  .composer {
479
479
  height: 100%;