Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/17345

Daniel7c3d6b0f1a48
diff --git a/kernel/model/blockial.go b/kernel/model/blockial.go
index e1922ef682..6cbe2569b1 100644
--- a/kernel/model/blockial.go
+++ b/kernel/model/blockial.go
@@ -350,8 +350,8 @@ func validateChars(name string, startIdx, n int) bool {
}
func pushBlockAttrs(oldAttrsUnEsc map[string]string, node *ast.Node) {
- newAttrsUnEsc := parse.IAL2MapUnEsc(node.KramdownIAL)
- data := map[string]interface{}{"old": oldAttrsUnEsc, "new": newAttrsUnEsc}
+ newAttrs := parse.IAL2Map(node.KramdownIAL)
+ data := map[string]interface{}{"old": oldAttrsUnEsc, "new": newAttrs}
if "" != node.AttributeViewType {
data["data-av-type"] = node.AttributeViewType
}