Skip to content

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

:art: Improve escaping content for database primary key, relation, and rollup fields https://github.com/siyuan-note/siyuan/issues/13704

Daniele26bcfac62c8
diff --git a/kernel/model/push_reload.go b/kernel/model/push_reload.go
index c1cdd274d9..86ec44bc40 100644
--- a/kernel/model/push_reload.go
+++ b/kernel/model/push_reload.go
@@ -296,7 +296,7 @@ func updateAttributeViewBlockText(updatedDefNodes map[string]*ast.Node) {
changedAv = true
}
if newContent != blockValue.Block.Content {
- blockValue.Block.Content = newContent
+ blockValue.Block.Content = util.UnescapeHTML(newContent)
changedAv = true
}
break