We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d413e9 commit e2b2130Copy full SHA for e2b2130
1 file changed
commonmark/src/main/java/org/commonmark/node/Node.java
@@ -50,11 +50,10 @@ public void appendChild(Node child) {
50
if (this.lastChild != null) {
51
this.lastChild.next = child;
52
child.prev = this.lastChild;
53
- this.lastChild = child;
54
} else {
55
this.firstChild = child;
56
57
}
+ this.lastChild = child;
58
59
60
public void prependChild(Node child) {
0 commit comments