Fixed mixed list indentation

This commit is contained in:
M66B 2020-10-02 19:29:34 +02:00
parent f25d869b8d
commit 128e45106c
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}