mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🐛 Overlay block ref on PDF annotation ref lead to failure to query unreferenced assets https://github.com/siyuan-note/siyuan/issues/8186
This commit is contained in:
parent
9e17a2f1da
commit
9f6983cd09
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ func assetsLinkDestsInTree(tree *parse.Tree) (ret []string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(n.TextMarkFileAnnotationRefID, "/") {
|
if !strings.Contains(n.TextMarkFileAnnotationRefID, "/") {
|
||||||
return ast.WalkSkipChildren
|
return ast.WalkContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
dest := n.TextMarkFileAnnotationRefID[:strings.LastIndexByte(n.TextMarkFileAnnotationRefID, '/')]
|
dest := n.TextMarkFileAnnotationRefID[:strings.LastIndexByte(n.TextMarkFileAnnotationRefID, '/')]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue