🎨 Block ref anchor text no longer contains contents of inline-level memos https://github.com/siyuan-note/siyuan/issues/9363
This commit is contained in:
parent
75dd676b56
commit
f870ff44d2
1 changed files with 1 additions and 1 deletions
|
@ -115,13 +115,13 @@ func GetBlockRefText(id string) string {
|
|||
return ErrBlockNotFound.Error()
|
||||
}
|
||||
|
||||
// Block ref anchor text no longer contains contents of inline-level memos https://github.com/siyuan-note/siyuan/issues/9363
|
||||
ast.Walk(node, func(n *ast.Node, entering bool) ast.WalkStatus {
|
||||
if !entering {
|
||||
return ast.WalkContinue
|
||||
}
|
||||
|
||||
if n.IsTextMarkType("inline-memo") {
|
||||
// Block ref anchor text no longer contains contents of inline-level memos https://github.com/siyuan-note/siyuan/issues/9363
|
||||
n.TextMarkInlineMemoContent = ""
|
||||
return ast.WalkContinue
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue