mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Fixed line breaks plain text messages
This commit is contained in:
parent
3a388b7dff
commit
7bd1b0171f
1 changed files with 1 additions and 1 deletions
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue