Fixed multi line signatures

This commit is contained in:
M66B 2018-09-07 11:12:46 +00:00
parent 1d9a89d0b3
commit 77f16a0caf
1 changed files with 2 additions and 2 deletions

View File

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