mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 06:11:53 +08:00
🎨 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:
parent
f168e39768
commit
14587701ae
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user