Fixed pre processing

This commit is contained in:
M66B
2020-05-02 17:51:15 +02:00
parent a1aff11987
commit 96b37e9658
3 changed files with 14 additions and 24 deletions

View File

@@ -1589,7 +1589,7 @@ public class MessageHelper {
if (part.isMimeType("text/plain")) {
if ("flowed".equalsIgnoreCase(ct.getParameter("format")))
result = HtmlHelper.flow(result);
result = "<pre>" + HtmlHelper.formatPre(result) + "</pre>";
result = "<div>" + HtmlHelper.formatPre(result) + "</div>";
} else if (part.isMimeType("text/html")) {
if (TextUtils.isEmpty(charset)) {
// <meta charset="utf-8" />