From 4e0d9d6f883db3483814221e18e318b5242aba44 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 10 Dec 2022 22:02:05 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=AF=BC=E5=85=A5=20Markdown=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=A7=A3=E6=9E=90=E4=BB=BB=E5=8A=A1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=BC=82=E5=B8=B8=20Fix=20https://github.com/siyuan-n?= =?UTF-8?q?ote/siyuan/issues/6842?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/box.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/box.go b/kernel/model/box.go index 1020549a3..37a543411 100644 --- a/kernel/model/box.go +++ b/kernel/model/box.go @@ -442,6 +442,7 @@ func moveTree(tree *parse.Tree) { func parseStdMd(markdown []byte) (ret *parse.Tree) { luteEngine := lute.New() + luteEngine.SetProtyleWYSIWYG(true) luteEngine.SetFootnotes(false) luteEngine.SetToC(false) luteEngine.SetIndentCodeBlock(false)