mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 20:08:49 +01:00
🐛 复制带超链接的图片无法保存到本地 Fix https://github.com/siyuan-note/siyuan/issues/5993
This commit is contained in:
parent
f01ca18ba2
commit
d7a4f25ed8
1 changed files with 3 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ func html2BlockDOM(c *gin.Context) {
|
|||
})
|
||||
}
|
||||
|
||||
// 复制带超链接的图片无法保存到本地 https://github.com/siyuan-note/siyuan/issues/5993
|
||||
luteEngine.NestedInlines2FlattedSpans(tree)
|
||||
|
||||
renderer := render.NewProtyleRenderer(tree, luteEngine.RenderOptions)
|
||||
output := renderer.Render()
|
||||
ret.Data = gulu.Str.FromBytes(output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue