mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🐛 Blocks created via template update time earlier than creation time Fix https://github.com/siyuan-note/siyuan/issues/8607
This commit is contained in:
parent
5e16149c4c
commit
32dee71bb9
2 changed files with 6 additions and 3 deletions
|
|
@ -250,6 +250,9 @@ func renderTemplate(p, id string) (string, error) {
|
|||
// 重新生成 ID
|
||||
n.ID = ast.NewNodeID()
|
||||
n.SetIALAttr("id", n.ID)
|
||||
|
||||
// Blocks created via template update time earlier than creation time https://github.com/siyuan-note/siyuan/issues/8607
|
||||
refreshUpdated(n)
|
||||
}
|
||||
|
||||
if (ast.NodeListItem == n.Type && (nil == n.FirstChild ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue