Skip to content

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

:art: Block ref dynamic anchor text no longer contains escape char https://github.com/siyuan-note/siyuan/issues/12187

Daniel6312d50f57cf
diff --git a/kernel/sql/block.go b/kernel/sql/block.go
index 9266d82f07..93b32d64eb 100644
--- a/kernel/sql/block.go
+++ b/kernel/sql/block.go
@@ -24,7 +24,6 @@ import (
"github.com/88250/gulu"
"github.com/88250/lute/ast"
"github.com/88250/lute/html"
- "github.com/88250/lute/lex"
"github.com/siyuan-note/siyuan/kernel/av"
"github.com/siyuan-note/siyuan/kernel/cache"
"github.com/siyuan-note/siyuan/kernel/filesys"
@@ -261,8 +260,6 @@ func nodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
buf.WriteString(" " + html.UnescapeHTMLStr(n.TextMarkAHref))
}
}
- case ast.NodeBackslash:
- buf.WriteByte(lex.ItemBackslash)
case ast.NodeBackslashContent:
buf.Write(n.Tokens)
case ast.NodeAudio, ast.NodeVideo: