Normalize html line breaks

This commit is contained in:
M66B
2019-08-22 18:12:30 +02:00
parent 69fbc51b8e
commit 081d25940a
7 changed files with 9 additions and 9 deletions

View File

@@ -864,7 +864,7 @@ public class MessageHelper {
if (part.isMimeType("text/plain")) {
result = TextUtils.htmlEncode(result);
result = result.replaceAll("\\r?\\n", "<br />");
result = result.replaceAll("\\r?\\n", "<br>");
result = "<span>" + result + "</span>";
}