summaryrefslogtreecommitdiff
path: root/web-ui/app/js/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/helpers')
-rw-r--r--web-ui/app/js/helpers/view_helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/helpers/view_helper.js b/web-ui/app/js/helpers/view_helper.js
index 9c9cacfd..6755b891 100644
--- a/web-ui/app/js/helpers/view_helper.js
+++ b/web-ui/app/js/helpers/view_helper.js
@@ -58,7 +58,7 @@ define(
}
function formatMailBody(mail) {
- var body = mail.htmlBodyPart ?
+ var body = mail.htmlBody ?
htmlWhitelister.sanitize(mail.htmlBody, htmlWhitelister.tagPolicy) :
escapeHtmlAndAddParagraphs(mail.textPlainBody);
return $('<div>' + body + '</div>');