1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Fixed multi line signatures

This commit is contained in:
M66B 2018-09-07 11:12:46 +00:00
parent 1d9a89d0b3
commit 77f16a0caf

View file

@ -716,7 +716,7 @@ public class FragmentCompose extends FragmentEx {
body = body.replaceAll("\\r?\\n", "<br />"); body = body.replaceAll("\\r?\\n", "<br />");
if (pro && !TextUtils.isEmpty(account.signature)) if (pro && !TextUtils.isEmpty(account.signature))
body = "<br>" + account.signature + "<br>" + body; body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
} else { } else {
draft.thread = ref.thread; draft.thread = ref.thread;
@ -768,7 +768,7 @@ public class FragmentCompose extends FragmentEx {
} }
if (pro && !TextUtils.isEmpty(account.signature)) if (pro && !TextUtils.isEmpty(account.signature))
body = "<br>" + account.signature + "<br>" + body; body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
} }
draft.received = new Date().getTime(); draft.received = new Date().getTime();