Fixed preformatted text

This commit is contained in:
M66B
2020-05-02 10:05:22 +02:00
parent 63ee1b1c99
commit 198612dac6
3 changed files with 7 additions and 6 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 = "<div>" + HtmlHelper.formatPre(result) + "</div>";
result = "<pre>" + HtmlHelper.formatPre(result) + "</pre>";
} else if (part.isMimeType("text/html")) {
if (TextUtils.isEmpty(charset)) {
// <meta charset="utf-8" />