mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Shallow clone li parent
This commit is contained in:
parent
adea92240f
commit
b2f7c8a329
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ public class HtmlHelper {
|
|||
"ol".equals(child.nodeName()) || "ul".equals(child.nodeName()))
|
||||
parent.before(child);
|
||||
else
|
||||
parent.before(document.createElement("li").appendChild(child));
|
||||
parent.before(parent.shallowClone().appendChild(child));
|
||||
}
|
||||
parent.remove();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue