Skip to content

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

:recycle: 移除旧版中的行级元素实现代码 https://github.com/siyuan-note/siyuan/issues/6819

Liang Dingb66c3987505b
diff --git a/kernel/model/render.go b/kernel/model/render.go
index f8f9a03f0a..6a48f55d8a 100644
--- a/kernel/model/render.go
+++ b/kernel/model/render.go
@@ -46,7 +46,7 @@ func renderOutline(node *ast.Node, luteEngine *lute.Lute) (ret string) {
return ast.WalkContinue
}
switch n.Type {
- case ast.NodeText, ast.NodeLinkText, ast.NodeFootnotesRef, ast.NodeCodeBlockCode, ast.NodeMathBlockContent:
+ case ast.NodeText, ast.NodeLinkText, ast.NodeCodeBlockCode, ast.NodeMathBlockContent:
tokens := html.EscapeHTML(n.Tokens)
tokens = bytes.ReplaceAll(tokens, []byte(" "), []byte(" ")) // 大纲面板条目中无法显示多个空格 https://github.com/siyuan-note/siyuan/issues/4370
buf.Write(tokens)