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: Limit the database title to 512 characters https://github.com/siyuan-note/siyuan/issues/15459
Daniel202ccfa5cfb7
diff --git a/kernel/model/attribute_view_fix.go b/kernel/model/attribute_view_fix.goindex efe8834155..82280bea3e 100644--- a/kernel/model/attribute_view_fix.go+++ b/kernel/model/attribute_view_fix.go@@ -101,10 +101,7 @@ func checkAttrView(attrView *av.AttributeView, view *av.View) {}}- if strings.Contains(attrView.Name, "\n") {- attrView.Name = strings.ReplaceAll(attrView.Name, "\n", " ")- }-+ attrView.Name = strings.ReplaceAll(attrView.Name, "\n", " ")// 截断超长的数据库标题 Limit the database title to 512 characters https://github.com/siyuan-note/siyuan/issues/15459if 512 < utf8.RuneCountInString(attrView.Name) {attrView.Name = gulu.Str.SubStr(attrView.Name, 512)