From 6061e29779554815ddc9522f3a01f322fb6f4589 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 11 Feb 2022 20:04:57 +0100 Subject: [PATCH] Wrap body content in div --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index fd949e700a..5168fc2147 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -3414,6 +3414,8 @@ public class HtmlHelper { next.remove(); } + doc.body().tagName("div").wrap(""); + return doc.html(); }