🎨 Improve list item convert to doc https://github.com/siyuan-note/siyuan/issues/12411
This commit is contained in:
parent
a17015dfdc
commit
130420c6dc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue