Replace single CR by LF

This commit is contained in:
M66B
2022-01-09 19:09:55 +01:00
parent 0f4bfbfc04
commit 3c9b00daa8
4 changed files with 9 additions and 12 deletions

View File

@@ -24,7 +24,6 @@ import static android.system.OsConstants.ENOSPC;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.SystemClock;
import android.system.ErrnoException;
import android.text.TextUtils;
@@ -2834,7 +2833,7 @@ public class MessageHelper {
result.substring(e - HTML_END.length(), e).equalsIgnoreCase(HTML_END))
return result;
result = "<div x-plain=\"true\">" + HtmlHelper.formatPre(result) + "</div>";
result = "<div x-plain=\"true\">" + HtmlHelper.formatPlainText(result) + "</div>";
} else if (h.isHtml()) {
// Conditionally upgrade to UTF8
if ((cs == null ||