Fixed mixed list indentation

pull/187/head
M66B 4 years ago
parent f25d869b8d
commit 128e45106c

@ -2199,7 +2199,7 @@ public class HtmlHelper {
int llevel = 0; int llevel = 0;
Element lparent = element.parent(); Element lparent = element.parent();
while (lparent != null) { while (lparent != null) {
if (lparent.tagName().equals(element.tagName())) if ("ol".equals(element.tagName()) || "ul".equals(element.tagName()))
llevel++; llevel++;
lparent = lparent.parent(); lparent = lparent.parent();
} }

Loading…
Cancel
Save