mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Fixed list item number
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user