🎨 网络图片转换为本地图片 支持处理 file:// 本地路径图片 Fix https://github.com/siyuan-note/siyuan/issues/6546

This commit is contained in:
Liang Ding 2022-11-11 11:51:14 +08:00
parent 6a31ab85aa
commit b07ff24307
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 35 additions and 9 deletions

View file

@ -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
}