Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2024-08-15 11:03:28 +08:00
commit 216dc408ff

View file

@ -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()