An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve document tag adding interaction https://github.com/siyuan-note/siyuan/issues/13311
Daniel1a482150765c
diff --git a/kernel/model/blockial.go b/kernel/model/blockial.goindex bd43d3718d..8af83a6892 100644--- a/kernel/model/blockial.go+++ b/kernel/model/blockial.go@@ -216,7 +216,10 @@ func setNodeAttrs0(node *ast.Node, nameValues map[string]string) (oldAttrs map[s}for name, value := range nameValues {- if "" == strings.TrimSpace(value) {+ value = util.RemoveInvalid(value)+ value = strings.TrimSpace(value)+ value = strings.TrimSuffix(value, ",")+ if "" == value {node.RemoveIALAttr(name)} else {node.SetIALAttr(name, value)