Skip to content

Node.js based forum software built for the modern web

chore: up themes, fix test helpers.escape no longer escapes tx tokens

Barış Soner Uşaklıc325c98d7e63
diff --git a/install/package.json b/install/package.json
index 6c4036a638..87e45dc4a5 100644
--- a/install/package.json
+++ b/install/package.json
@@ -102,7 +102,7 @@
"multer": "2.2.0",
"nconf": "0.13.0",
"nodebb-plugin-2factor": "8.0.2",
- "nodebb-plugin-composer-default": "11.0.4",
+ "nodebb-plugin-composer-default": "11.0.5",
"nodebb-plugin-dbsearch": "7.0.0",
"nodebb-plugin-emoji": "6.0.14",
"nodebb-plugin-emoji-android": "4.1.1",
@@ -112,10 +112,10 @@
"nodebb-plugin-spam-be-gone": "2.3.4",
"nodebb-plugin-web-push": "0.8.2",
"nodebb-rewards-essentials": "1.0.3",
- "nodebb-theme-harmony": "3.0.16",
+ "nodebb-theme-harmony": "3.1.0",
"nodebb-theme-lavender": "8.0.6",
- "nodebb-theme-peace": "3.0.6",
- "nodebb-theme-persona": "15.0.11",
+ "nodebb-theme-peace": "3.1.0",
+ "nodebb-theme-persona": "15.1.0",
"nodebb-widget-essentials": "8.0.0",
"nodemailer": "9.0.3",
"nprogress": "0.2.0",
diff --git a/test/template-helpers.js b/test/template-helpers.js
index b848629c24..f54d48ebf2 100644
--- a/test/template-helpers.js
+++ b/test/template-helpers.js
@@ -70,9 +70,9 @@ describe('helpers', () => {
done();
});
- it('should escape html and translation tokens', (done) => {
+ it('should escape html', (done) => {
const str = helpers.escape('gdkfhgk < some > and & [[global:posts]] foo');
- assert.equal(str, 'gdkfhgk &lt; some &gt; and &amp; &lsqb;&lsqb;global:posts&rsqb;&rsqb; foo');
+ assert.equal(str, 'gdkfhgk &lt; some &gt; and &amp; [[global:posts]] foo');
done();
});