Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-10-24 09:58:28 +08:00
commit d9dbbcc30d

View file

@ -251,6 +251,7 @@ func renderTemplate(p, id string, preview bool) (string, error) {
// 重新生成 ID
n.ID = ast.NewNodeID()
n.SetIALAttr("id", n.ID)
n.RemoveIALAttr(av.NodeAttrNameAvs)
// Blocks created via template update time earlier than creation time https://github.com/siyuan-note/siyuan/issues/8607
refreshUpdated(n)