Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15057

Daniel15bcabcc9e71
diff --git a/kernel/sql/av_gallery.go b/kernel/sql/av_gallery.go
index e6444fc27d..d565769d3d 100644
--- a/kernel/sql/av_gallery.go
+++ b/kernel/sql/av_gallery.go
@@ -223,6 +223,7 @@ func renderBlockDOMByNode(node *ast.Node, luteEngine *lute.Lute) string {
blockRenderer.Options.ProtyleContenteditable = false
ast.Walk(node, func(n *ast.Node, entering bool) ast.WalkStatus {
if entering {
+ // 内容图中不需要渲染数据库角标 https://github.com/siyuan-note/siyuan/issues/15057
ial := parse.IAL2Map(n.KramdownIAL)
delete(ial, av.NodeAttrNameAvs)
n.KramdownIAL = parse.Map2IAL(ial)