diff --git a/kernel/model/file.go b/kernel/model/file.go index 7f3166197..c728c1ff9 100644 --- a/kernel/model/file.go +++ b/kernel/model/file.go @@ -1164,6 +1164,7 @@ func CreateWithMarkdown(boxID, hPath, md, parentID, id string, withMath bool) (r if withMath { luteEngine.SetInlineMath(true) } + luteEngine.SetHTMLTag2TextMark(true) dom := luteEngine.Md2BlockDOM(md, false) retID, err = createDocsByHPath(box.ID, hPath, dom, parentID, id) WaitForWritingFiles()