An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Parsing YFM incorrectly when exporting widget block attribute `data-export-md` Fix https://github.com/siyuan-note/siyuan/issues/7824
Liang Ding4258e9cce336
diff --git a/kernel/model/export.go b/kernel/model/export.goindex 51d2f5c81e..852850c6df 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -1797,7 +1797,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,if "" != exportMdVal {luteEngine0 := util.NewLute()luteEngine0.SetYamlFrontMatter(true) // 挂件导出属性 `data-export-md` 支持 YFM https://github.com/siyuan-note/siyuan/issues/7752- exportMdTree := parse.Parse("", []byte(exportMdVal), luteEngine.ParseOptions)+ exportMdTree := parse.Parse("", []byte(exportMdVal), luteEngine0.ParseOptions)var insertNodes []*ast.Nodefor c := exportMdTree.Root.FirstChild; nil != c; c = c.Next {if ast.NodeKramdownBlockIAL != c.Type {