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

This commit is contained in:
Vanessa 2024-12-25 16:29:05 +08:00
commit 929d079bc3

View file

@ -451,6 +451,11 @@ func SetDynamicBlockRefText(blockRef *ast.Node, refText string) {
return
}
refText = strings.TrimSpace(refText)
if "" == refText {
refText = blockRef.TextMarkBlockRefID
}
blockRef.TextMarkBlockRefSubtype = "d"
blockRef.TextMarkTextContent = refText