nodebb-plugin-web-push 0.7.6 → 0.7.7
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 +1 -0
- package/package-lock.json +334 -551
- package/package.json +6 -6
package/library.js
CHANGED
|
@@ -218,6 +218,7 @@ async function constructPayload(notification, uid, lang) {
|
|
|
218
218
|
|
|
219
219
|
let [title, body] = await translator.translateKeys([bodyShort, bodyLong], lang);
|
|
220
220
|
([title, body] = [title, body].map(str => validator.unescape(utils.stripHTMLTags(str))));
|
|
221
|
+
title = `${dir === 'rtl' ? '\u200f' : '\u200e'}${title}`;
|
|
221
222
|
const tag = mergeId || nid;
|
|
222
223
|
const url = `${nconf.get('url')}${path}`;
|
|
223
224
|
|