Daniel 2024-11-10 12:04:56 +08:00
parent 14f5570558
commit a0491cd4ff
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
13 changed files with 21 additions and 18 deletions

View file

@ -496,7 +496,7 @@ func parseKTree(kramdown []byte) (ret *parse.Tree) {
func normalizeTree(tree *parse.Tree) (yfmRootID, yfmTitle, yfmUpdated string) {
if nil == tree.Root.FirstChild {
tree.Root.AppendChild(treenode.NewParagraph())
tree.Root.AppendChild(treenode.NewParagraph(""))
}
var unlinks []*ast.Node