Normalize html line breaks

This commit is contained in:
M66B
2019-08-22 18:12:30 +02:00
parent 69fbc51b8e
commit 081d25940a
7 changed files with 9 additions and 9 deletions

View File

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