mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user