Browse Source

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

Daniel 1 năm trước cách đây
mục cha
commit
14587701ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kernel/api/extension.go

+ 1 - 1
kernel/api/extension.go

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