🎨 Text starting with 4 spaces are not parsed into code blocks when clipping https://github.com/siyuan-note/siyuan/issues/10588

This commit is contained in:
Daniel 2024-03-12 17:27:54 +08:00
parent f168e39768
commit 14587701ae
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -121,7 +121,7 @@ func extensionCopy(c *gin.Context) {
uploaded[oName] = "assets/" + fName uploaded[oName] = "assets/" + fName
} }
luteEngine := lute.New() luteEngine := util.NewStdLute()
md := luteEngine.HTML2Md(dom) md := luteEngine.HTML2Md(dom)
md = strings.TrimSpace(md) md = strings.TrimSpace(md)