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

@ -13,8 +13,8 @@ android {
applicationId "eu.faircode.email"
minSdkVersion 21
targetSdkVersion 29
versionCode 729
versionName "1.729"
versionCode 730
versionName "1.730"
archivesBaseName = "FairEmail-v$versionName"
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera

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;