Notifications with HTML
If you want to have HTML in notification body, you should use translations only?
Because, if you provide raw html, like this:
notificationObj.bodyShort = 'Some message <strong>important</strong>';
It will output html tags.
Can you submit an issue on GH for this?
We sanitize HTML on notifs for removing breaking HTML from stuff like post teasers. It really should just sanitize the values of the object passed into the rendering and not the resulting text as a whole.