🎨 Improve web clip escaping code block markers https://github.com/siyuan-note/siyuan/issues/11643
This commit is contained in:
parent
143150dea3
commit
7eafd7ada8
2 changed files with 2 additions and 3 deletions
|
@ -153,7 +153,7 @@ func extensionCopy(c *gin.Context) {
|
|||
unlink.Unlink()
|
||||
}
|
||||
|
||||
parse.NestedInlines2FlattedSpans(tree, false)
|
||||
parse.NestedInlines2FlattedSpansHybrid(tree, false)
|
||||
|
||||
md, _ = lute.FormatNodeSync(tree.Root, luteEngine.ParseOptions, luteEngine.RenderOptions)
|
||||
ret.Data = map[string]interface{}{
|
||||
|
|
|
@ -164,8 +164,7 @@ func html2BlockDOM(c *gin.Context) {
|
|||
})
|
||||
}
|
||||
|
||||
// 复制带超链接的图片无法保存到本地 https://github.com/siyuan-note/siyuan/issues/5993
|
||||
parse.NestedInlines2FlattedSpans(tree, false)
|
||||
parse.NestedInlines2FlattedSpansHybrid(tree, false)
|
||||
|
||||
renderer := render.NewProtyleRenderer(tree, luteEngine.RenderOptions)
|
||||
output := renderer.Render()
|
||||
|
|
Loading…
Add table
Reference in a new issue