diff --git a/kernel/model/listitem.go b/kernel/model/listitem.go index abbf32745..69af99e83 100644 --- a/kernel/model/listitem.go +++ b/kernel/model/listitem.go @@ -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) {