diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 7379f7b2a4..715c1a75bf 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -2239,7 +2239,9 @@ public class FragmentCompose extends FragmentBase { for (Element e : rdoc.select("*")) for (Node node : e.childNodes()) if (node instanceof TextNode && - "--".equals(((TextNode) node).text().trim())) + "--".equals(((TextNode) node).text().trim()) && + node.nextSibling() != null && + "br".equals(node.nextSibling().nodeName())) signature = node; if (signature != null) {