From 6edd6d577fc1c79141f3682e280b179855592d78 Mon Sep 17 00:00:00 2001 From: erikn69 Date: Mon, 22 Jun 2026 11:06:39 -0500 Subject: [PATCH] Handle mail body fallback to HTML content on Mail Text Version(mail widget) --- resources/widgets/mails/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/widgets/mails/widget.js b/resources/widgets/mails/widget.js index b72f192a..974602da 100644 --- a/resources/widgets/mails/widget.js +++ b/resources/widgets/mails/widget.js @@ -59,7 +59,7 @@ bodyPre.style.border = '1px solid #ddd'; bodyPre.style.padding = '5px'; bodyPre.style.overflowX = 'scroll'; - bodyPre.textContent = mail.body; + bodyPre.textContent = mail.body || mail.html; let bodyHTML = bodyPre.outerHTML; let htmlIframeHTML = '';