mirror of https://github.com/M66B/FairEmail.git
Fixed list item number
This commit is contained in:
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…
Reference in New Issue