mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 The doc title image index failed when using notebook-level assets https://github.com/siyuan-note/siyuan/issues/9936
This commit is contained in:
parent
f58623af6b
commit
7b16c45c8e
2 changed files with 9 additions and 6 deletions
|
|
@ -683,7 +683,7 @@ func buildSpanFromNode(n *ast.Node, tree *parse.Tree, rootID, boxID, p string) (
|
|||
walkStatus = ast.WalkSkipChildren
|
||||
return
|
||||
case ast.NodeDocument:
|
||||
if asset := docTitleImgAsset(n); nil != asset {
|
||||
if asset := docTitleImgAsset(n, boxLocalPath, docDirLocalPath); nil != asset {
|
||||
assets = append(assets, asset)
|
||||
}
|
||||
if tags := docTagSpans(n); 0 < len(tags) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue