From fe756fe30d565496646d2c5f64e2537f96b085b9 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 3 Apr 2019 11:17:23 -0400 Subject: [PATCH] #436 - revert stripe html for notification --- src/modules/statuses.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 28daae9975..43145311c6 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -313,11 +313,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot if (i18nString) { notifObj.body = rootGetters.i18n.t('notifications.' + i18nString) } else { - // stripe html - const div = document.createElement('div') - div.innerHTML = notification.status.text - const text = div.textContent || div.innerText || '' - notifObj.body = text + notifObj.body = notification.status.text } // Shows first attached non-nsfw image, if any. Should add configuration for this somehow...