From 7426479e1a10e368d566a2b73616665c4f56db96 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 22 May 2020 12:30:26 +0200 Subject: [PATCH] Fixed newlines in plain text --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index c8177422ff..8502bff27b 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2016,6 +2016,11 @@ public class HtmlHelper { case "br": newline(ssb.length()); break; + case "div": // compose + case "p": // compose + newline(ssb.length()); + newline(ssb.length()); + break; case "i": case "em": ssb.setSpan(new StyleSpan(Typeface.ITALIC), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);