diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-03-30 19:46:19 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-03-30 19:46:19 -0300 |
commit | 813f5cc02c06bb297e030c8c67897d9e1d68a598 (patch) | |
tree | 53a9000fd551f2c7e9a827c44a0a73a86072a3e6 /web-ui/app/js | |
parent | 793474766430a514851c57b6398cf61e58d5d352 (diff) |
HTML mail is back after 4 months with a typo
Diffstat (limited to 'web-ui/app/js')
-rw-r--r-- | web-ui/app/js/helpers/view_helper.js | 2 |
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>'); |