mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 23:21:47 +01:00
🐛 导出 PDF 的 SVG 图片链接无法正常显示 Fix https://github.com/siyuan-note/siyuan/issues/5757
This commit is contained in:
parent
acd9f76e87
commit
dfda59025c
4 changed files with 7 additions and 4 deletions
|
|
@ -452,6 +452,7 @@ func ExportHTML(id, savePath string, pdf bool) (name, dom string) {
|
|||
|
||||
luteEngine.SetFootnotes(true)
|
||||
luteEngine.RenderOptions.ProtyleContenteditable = false
|
||||
luteEngine.SetProtyleMarkNetImg(false)
|
||||
renderer := render.NewProtyleExportRenderer(tree, luteEngine.RenderOptions)
|
||||
dom = gulu.Str.FromBytes(renderer.Render())
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue