|
@@ -174,6 +174,10 @@ func GetDocHistoryContent(historyPath, keyword string) (id, rootID, content stri
|
|
return ast.WalkContinue
|
|
return ast.WalkContinue
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // 数据历史浏览时忽略内容块折叠状态 https://github.com/siyuan-note/siyuan/issues/5778
|
|
|
|
+ n.RemoveIALAttr("heading-fold")
|
|
|
|
+ n.RemoveIALAttr("fold")
|
|
|
|
+
|
|
if ast.NodeBlockRef == n.Type {
|
|
if ast.NodeBlockRef == n.Type {
|
|
appendRefTextRenderResultForBlockRef(n)
|
|
appendRefTextRenderResultForBlockRef(n)
|
|
return ast.WalkSkipChildren
|
|
return ast.WalkSkipChildren
|