mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
4689c1fa18
commit
76372ae017
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ func html2BlockDOM(c *gin.Context) {
|
|||
dom := arg["dom"].(string)
|
||||
luteEngine := util.NewLute()
|
||||
luteEngine.SetHTMLTag2TextMark(true)
|
||||
luteEngine.SetHTML2MarkdownAttrs([]string{"name", "alias", "memo", "bookmark", "custom-*"})
|
||||
luteEngine.SetHTML2MarkdownAttrs([]string{"alias", "memo", "bookmark", "custom-*"})
|
||||
markdown, withMath, err := model.HTML2Markdown(dom, luteEngine)
|
||||
if err != nil {
|
||||
ret.Data = "Failed to convert"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue