This commit is contained in:
Daniel 2024-08-12 18:03:10 +08:00
parent 19ceaf050a
commit 4ac3e9d397
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

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