Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
d95390d1c6
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ func Outline(rootID string, preview bool) (ret []*Path, err error) {
|
|||
title.InsertAfter(&ast.Node{Type: ast.NodeKramdownBlockIAL, Tokens: parse.IAL2Tokens(title.KramdownIAL)})
|
||||
|
||||
content := html.UnescapeString(root.Content)
|
||||
title.AppendChild(&ast.Node{Type: ast.NodeText, Tokens: []byte(content)})
|
||||
title.AppendChild(&ast.Node{ID: root.ID, Type: ast.NodeText, Tokens: []byte(content)})
|
||||
tree.Root.PrependChild(title)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue