From cb35164991139ccd85435a4ef4116b9fb0f0801d Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 14 Nov 2020 20:09:06 +0100 Subject: [PATCH] Prevent extra separator lines --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index fc0ab00ae2..3aaa1b12b9 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -891,6 +891,10 @@ public class HtmlHelper { continue; } } + + if (lonely instanceof TextNode && + "\u00a0".equals(((TextNode) lonely).getWholeText())) + lonely.remove(); // -> column separator } if (merge.size() > 0) {