diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 70e7caf6a4..e2a5b77ab6 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2745,6 +2745,15 @@ public class HtmlHelper { // Outlook:
d.body().select("#Signature").select("[data-lt-sig-active]").remove(); + // Apple:
+ for (Element br : d.body().select("#lineBreakAtBeginningOfSignature")) { + Element next = br.nextElementSibling(); + if (next != null && "div".equals(next.tagName())) { + br.remove(); + next.remove(); + } + } + // Usenet style signature d.body().filter(new NodeFilter() { private boolean remove = false;