mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Fixed extra newlines signature
This commit is contained in:
@@ -777,7 +777,7 @@ public class FragmentCompose extends FragmentEx {
|
||||
body = body.replaceAll("\\r?\\n", "<br />");
|
||||
|
||||
if (pro && !TextUtils.isEmpty(account.signature))
|
||||
body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
|
||||
body = "<br />" + account.signature + body;
|
||||
|
||||
} else {
|
||||
draft.thread = ref.thread;
|
||||
@@ -835,7 +835,7 @@ public class FragmentCompose extends FragmentEx {
|
||||
}
|
||||
|
||||
if (pro && !TextUtils.isEmpty(account.signature))
|
||||
body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
|
||||
body = "<br />" + account.signature + body;
|
||||
}
|
||||
|
||||
draft.received = new Date().getTime();
|
||||
|
||||
Reference in New Issue
Block a user