diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js
index 77a060ed7a..039eeb3250 100644
--- a/public/src/modules/helpers.js
+++ b/public/src/modules/helpers.js
@@ -210,14 +210,14 @@
function renderDigestAvatar(block) {
if (block.teaser) {
if (block.teaser.user.picture) {
- return '
';
+ return '
';
}
- return '
' + block.teaser.user['icon:text'] + '
';
+ return '' + block.teaser.user['icon:text'] + '
';
}
if (block.user.picture) {
- return '
';
+ return '
';
}
- return '' + block.user['icon:text'] + '
';
+ return '' + block.user['icon:text'] + '
';
}
function userAgentIcons(data) {
diff --git a/src/views/emails/digest.tpl b/src/views/emails/digest.tpl
index 2212d8cfda..38fba1232f 100644
--- a/src/views/emails/digest.tpl
+++ b/src/views/emails/digest.tpl
@@ -29,9 +29,9 @@
-
+
- {notifications.user.icon:text}
+ {notifications.user.icon:text}
{notifications.bodyShort}