This commit is contained in:
Daniel 2025-05-18 10:53:40 +08:00
parent ca93066171
commit 248c0c1704
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 8 additions and 3 deletions

View file

@ -44,7 +44,11 @@ func copyStdMarkdown(c *gin.Context) {
}
id := arg["id"].(string)
ret.Data = model.ExportStdMarkdown(id)
assetsDestSpace2Underscore := false
if nil != arg["assetsDestSpace2Underscore"] {
assetsDestSpace2Underscore = arg["assetsDestSpace2Underscore"].(bool)
}
ret.Data = model.ExportStdMarkdown(id, assetsDestSpace2Underscore)
}
func html2BlockDOM(c *gin.Context) {