Fixed list item number

pull/178/head
M66B 5 years ago
parent 5c865f16df
commit cb9606770f

@ -1988,7 +1988,8 @@ public class HtmlHelper {
else {
int index = 0;
for (Node child : parent.childNodes()) {
if (child instanceof Element) {
if (child instanceof Element &&
child.nodeName().equals(element.tagName())) {
index++;
if (child == element)
break;

Loading…
Cancel
Save