This commit is contained in:
Daniel 2024-12-07 11:48:14 +08:00
parent 68748dc6cd
commit 96c59433e2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 13 additions and 7 deletions

View file

@ -269,7 +269,7 @@ func refreshDynamicRefTexts(updatedDefNodes map[string]*ast.Node, updatedTrees m
for _, blockValue := range blockValues.Values {
if blockValue.Block.ID == updatedDefNode.ID {
newContent := getNodeRefText(updatedDefNode)
newContent := getNodeAvBlockText(updatedDefNode)
if newContent != blockValue.Block.Content {
blockValue.Block.Content = newContent
changedAv = true