This commit is contained in:
Daniel
2024-09-08 12:36:55 +08:00
parent a17015dfdc
commit 130420c6dc

View File

@@ -66,7 +66,7 @@ func ListItem2Doc(srcListItemID, targetBoxID, targetPath string) (srcRootBlockID
}
var children []*ast.Node
for c := listItemNode.FirstChild.Next; nil != c; c = c.Next {
for c := listItemNode.FirstChild; nil != c; c = c.Next {
children = append(children, c)
}
if 1 > len(children) {