From 2e3a50509aaf87777845a675bb56f798e4666092 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 15 Nov 2020 08:45:45 +0100 Subject: [PATCH] Prevent separator after hard space --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index ac9d67e418..9a736a92f5 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2394,6 +2394,7 @@ public class HtmlHelper { if ("true".equals(element.attr("x-column")) && ssb.length() > 1 && ssb.charAt(ssb.length() - 1) != '\n' && + ssb.charAt(ssb.length() - 1) != '\u00a0' && ssb.charAt(ssb.length() - 1) != '\u2002') ssb.append('\u2002'); // ensp