From e7eb62e660f1f0d01146b1401447bd05a9510c5b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 23 Aug 2025 19:53:38 +0800 Subject: [PATCH] :art: Improve av https://github.com/siyuan-note/siyuan/issues/15665 --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 963cc0ad5..583baf071 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -4307,7 +4307,7 @@ func replaceAttributeViewBlock0(attrView *av.AttributeView, oldBlockID, newBlock content = util.UnescapeHTML(content) blockVal.Block.Icon, blockVal.Block.Content = icon, content - avIDs := replaceRelationAvValues(avID, oldBlockID, newBlockID) + avIDs := replaceRelationAvValues(avID, blockVal.Block.ID, newBlockID) changedAvIDs = append(changedAvIDs, avIDs...) } else { blockVal.Block.ID = ""