This commit is contained in:
Liang Ding 2023-01-27 21:14:09 +08:00
parent 9589dbbc7b
commit 04f47749f7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
19 changed files with 295 additions and 34 deletions

View file

@ -138,7 +138,7 @@ func SwapBlockRef(refID, defID string, includeChildren bool) (err error) {
}
}
refPivot := parse.NewParagraph()
refPivot := treenode.NewParagraph()
refNode.InsertBefore(refPivot)
if ast.NodeListItem == defNode.Type {