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
v1.18.x
oh 6 years ago committed by Julian Lam
parent 648964faa7
commit d7c55bc3f7

@ -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);

Loading…
Cancel
Save