mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
Shallow clone li parent
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user