This commit is contained in:
Liang Ding 2022-09-24 23:17:23 +08:00
parent 2dcb08a633
commit 2657313306
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 5 additions and 10 deletions

View file

@ -1249,6 +1249,11 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool) (re
// 块折叠以后导出 HTML/PDF 固定展开 https://github.com/siyuan-note/siyuan/issues/4064
n.RemoveIALAttr("fold")
n.RemoveIALAttr("heading-fold")
} else {
if "1" == n.IALAttr("heading-fold") {
unlinks = append(unlinks, n)
return ast.WalkContinue
}
}
if ast.NodeParagraph == n.Type {