mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Fixed line breaks plain text messages
This commit is contained in:
@@ -811,7 +811,7 @@ public class MessageHelper {
|
||||
}
|
||||
|
||||
if (part.isMimeType("text/plain") || text) {
|
||||
result = Html.escapeHtml(result);
|
||||
result = TextUtils.htmlEncode(result);
|
||||
result = result.replaceAll("\\r?\\n", "<br />");
|
||||
result = "<span>" + result + "</span>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user