From eb47ce41a3e87c036785ea691f441e49526e01f7 Mon Sep 17 00:00:00 2001 From: the-djmaze <3752035+the-djmaze@users.noreply.github.com> Date: Mon, 26 Oct 2026 18:01:27 +0100 Subject: [PATCH] Resolve #2089 --- dev/Common/Html.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 70236d1bd..d495a8c31 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -312,7 +312,8 @@ export const // https://github.com/the-djmaze/snappymail/issues/1860 .replace(/<(\/?)x-html(\s[^>]*)?>/gi, '') .replace(/<(\/?)head(\s[^>]*)?>/gi, '') - .replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div class="mail-body"$2>') + .replace(/
]*)?>/i, '