From 4ac3e9d3977a6d1058e55f8d82ab082b95204b72 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 12 Aug 2024 18:03:10 +0800 Subject: [PATCH] :art: Improve HTML kbd clipping https://github.com/siyuan-note/siyuan/issues/12242 --- kernel/model/file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/file.go b/kernel/model/file.go index 7f31661970f..c728c1ff9bd 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()