mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 网络图片转换为本地图片 支持处理 file:// 本地路径图片 Fix https://github.com/siyuan-note/siyuan/issues/6546
This commit is contained in:
@@ -64,7 +64,7 @@ func docTagSpans(n *ast.Node) (ret []*Span) {
|
||||
|
||||
func docTitleImgAsset(root *ast.Node) *Asset {
|
||||
if p := treenode.GetDocTitleImgPath(root); "" != p {
|
||||
if !IsAssetLinkDest([]byte(p)) {
|
||||
if !util.IsAssetLinkDest([]byte(p)) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user