mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-15 01:00:15 +01:00
Fixed preformatted text
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user