This commit is contained in:
Daniel 2024-09-08 17:53:36 +08:00
parent 130420c6dc
commit 0f275b975d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

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