From 77f16a0caf8a33457d77fac499ad63ff4847a581 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Sep 2018 11:12:46 +0000 Subject: [PATCH] Fixed multi line signatures --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 1a85e0fd..78ce75e8 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -716,7 +716,7 @@ public class FragmentCompose extends FragmentEx { body = body.replaceAll("\\r?\\n", "
"); if (pro && !TextUtils.isEmpty(account.signature)) - body = "
" + account.signature + "
" + body; + body = "
" + account.signature.replaceAll("\\r?\\n", "
") + "
" + body; } else { draft.thread = ref.thread; @@ -768,7 +768,7 @@ public class FragmentCompose extends FragmentEx { } if (pro && !TextUtils.isEmpty(account.signature)) - body = "
" + account.signature + "
" + body; + body = "
" + account.signature.replaceAll("\\r?\\n", "
") + "
" + body; } draft.received = new Date().getTime();