Fixed multi line signatures

pull/125/head
M66B 6 years ago
parent 1d9a89d0b3
commit 77f16a0caf

@ -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();

Loading…
Cancel
Save