🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958

This commit is contained in:
Daniel 2024-01-01 01:08:55 +08:00
parent 4fcc7f1b4c
commit 99218f400b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 35 additions and 10 deletions

View file

@ -93,7 +93,7 @@ func renderOutline(heading *ast.Node, luteEngine *lute.Lute) (ret string) {
}
func renderBlockText(node *ast.Node, excludeTypes []string) (ret string) {
ret = treenode.NodeStaticContent(node, excludeTypes, false, false)
ret = treenode.NodeStaticContent(node, excludeTypes, false, false, false)
ret = strings.TrimSpace(ret)
ret = strings.ReplaceAll(ret, "\n", "")
ret = util.EscapeHTML(ret)
@ -156,7 +156,7 @@ func renderBlockContentByNodes(nodes []*ast.Node) string {
buf := bytes.Buffer{}
for _, n := range subNodes {
buf.WriteString(treenode.NodeStaticContent(n, nil, false, false))
buf.WriteString(treenode.NodeStaticContent(n, nil, false, false, false))
}
return buf.String()
}