From 8ea3cfffcf4eeb167a382e0b163202c5be703c4e Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 12 May 2020 17:05:59 +0200 Subject: [PATCH] Fixed extra new lines plain text reply --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 71d9fb4d38..8094d05859 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -3380,6 +3380,8 @@ public class FragmentCompose extends FragmentBase { if (TextUtils.isEmpty(s)) { // Get referenced message body d = JsoupEx.parse(ref.getFile(context)); + for (Element e : d.select("[x-plain=true]")) + e.removeAttr("x-plain"); // Remove signature separators boolean remove_signatures = prefs.getBoolean("remove_signatures", false);