🎨 Shallow clone the corresponding database when the template contains database blocks https://github.com/siyuan-note/siyuan/issues/9494
This commit is contained in:
parent
5e3aefa793
commit
8a789a8573
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue