mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Small improvement
This commit is contained in:
parent
75a8b7a4da
commit
b64f68d551
1 changed files with 4 additions and 1 deletions
|
@ -418,7 +418,10 @@ public class Log {
|
||||||
sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex));
|
sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex));
|
||||||
if (log != null)
|
if (log != null)
|
||||||
sb.append(log);
|
sb.append(log);
|
||||||
String body = "<pre>" + sb.toString().replaceAll("\\r?\\n", "<br>") + "</pre>";
|
String body = "<div>" +
|
||||||
|
TextUtils.htmlEncode(sb.toString())
|
||||||
|
.replaceAll("\\r?\\n", "<br>") +
|
||||||
|
"</div>";
|
||||||
|
|
||||||
EntityMessage draft;
|
EntityMessage draft;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue