unescape email subject

This commit is contained in:
Baris Usakli
2018-12-05 17:38:08 -05:00
parent 6df5668e64
commit 96c1dc6276
3 changed files with 3 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ function pushToUids(uids, notification, callback) {
async.eachLimit(uids, 3, function (uid, next) {
emailer.send('notification', uid, {
path: notification.path,
subject: utils.stripHTMLTags(notification.subject || '[[notifications:new_notification_from, ' + meta.config.title + ']]'),
subject: utils.stripHTMLTags(notification.subject || '[[notifications:new_notification]]'),
intro: utils.stripHTMLTags(notification.bodyShort),
body: notification.bodyLong || '',
notification: notification,