feat(email): don't escape html in notification bodies. (#7042)

allows for post replies, etc. to show the formatting of the orginal 
post, rather than looking garbled.

closes #7034
This commit is contained in:
oh
2018-12-05 17:46:41 +00:00
committed by Julian Lam
parent 648964faa7
commit d7c55bc3f7

View File

@@ -245,7 +245,7 @@ function pushToUids(uids, notification, callback) {
path: notification.path,
subject: utils.stripHTMLTags(notification.subject || '[[notifications:new_notification_from, ' + meta.config.title + ']]'),
intro: utils.stripHTMLTags(notification.bodyShort),
body: utils.stripHTMLTags(notification.bodyLong || ''),
body: notification.bodyLong || '',
notification: notification,
showUnsubscribe: true,
}, next);