An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Overlay block ref on PDF annotation ref lead to failure to query unreferenced assets https://github.com/siyuan-note/siyuan/issues/8186
Liang Ding9e17a2f1dae1
diff --git a/kernel/model/assets.go b/kernel/model/assets.goindex 9dbc957415..7aef777a0d 100644--- a/kernel/model/assets.go+++ b/kernel/model/assets.go@@ -729,6 +729,10 @@ func assetsLinkDestsInTree(tree *parse.Tree) (ret []string) {return ast.WalkContinue}+ if !strings.Contains(n.TextMarkFileAnnotationRefID, "/") {+ return ast.WalkSkipChildren+ }+dest := n.TextMarkFileAnnotationRefID[:strings.LastIndexByte(n.TextMarkFileAnnotationRefID, '/')]dest = strings.TrimSpace(dest)ret = append(ret, dest)