From 0652802a4b79bfe4ebb431ef5e11fa0d5d381786 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 17 Nov 2020 12:26:43 +0100 Subject: [PATCH] Line before headings --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index ed8035ee87..cee2736d30 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -760,6 +760,7 @@ public class HtmlHelper { // Replace headings Elements hs = document.select("h1,h2,h3,h4,h5,h6"); + hs.attr("x-line-before", "true"); if (text_size) { if (text_separators && view) for (Element h : hs)