mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
🐛 Unable to search audio, video blocks by asset path https://github.com/siyuan-note/siyuan/issues/10468
This commit is contained in:
parent
1a5355ce27
commit
8d9eafbfd8
3 changed files with 39 additions and 28 deletions
|
|
@ -1620,7 +1620,7 @@ func exportSYZip(boxID, rootDirPath, baseFolderName string, docPaths []string) (
|
|||
case av.KeyTypeMAsset: // 导出资源文件列 https://github.com/siyuan-note/siyuan/issues/9919
|
||||
for _, value := range keyValues.Values {
|
||||
for _, asset := range value.MAsset {
|
||||
if !isRelativePath([]byte(asset.Content)) {
|
||||
if !treenode.IsRelativePath([]byte(asset.Content)) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue