Small improvement

This commit is contained in:
M66B
2019-09-26 21:52:47 +02:00
parent bfe383594c
commit d96d9fa4f7
2 changed files with 3 additions and 6 deletions

View File

@@ -453,10 +453,7 @@ public class Log {
sb.append(ex.toString()).append("\n").append(android.util.Log.getStackTraceString(ex));
if (log != null)
sb.append(log);
String body = "<div>" +
TextUtils.htmlEncode(sb.toString())
.replaceAll("\\r?\\n", "<br>") +
"</div>";
String body = "<pre>" + TextUtils.htmlEncode(sb.toString()) + "</pre>";
EntityMessage draft;