From 813f5cc02c06bb297e030c8c67897d9e1d68a598 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Mon, 30 Mar 2015 19:46:19 -0300 Subject: HTML mail is back after 4 months with a typo --- web-ui/app/js/helpers/view_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $('
' + body + '
'); -- cgit v1.2.3