From 128e45106cfd096b567dc0bb2990abc5c2e62b7e Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 2 Oct 2020 19:29:34 +0200 Subject: [PATCH] Fixed mixed list indentation --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index e55409a300..e1e1b38e3f 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2199,7 +2199,7 @@ public class HtmlHelper { int llevel = 0; Element lparent = element.parent(); while (lparent != null) { - if (lparent.tagName().equals(element.tagName())) + if ("ol".equals(element.tagName()) || "ul".equals(element.tagName())) llevel++; lparent = lparent.parent(); }