From d7c55bc3f7a74c09ddcbe10641cc78cbbfe57679 Mon Sep 17 00:00:00 2001 From: oh Date: Wed, 5 Dec 2018 17:46:41 +0000 Subject: [PATCH] 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 --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.js b/src/notifications.js index 69c9e89848..0e6b6865da 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -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);