Browse Source

:bug: 图片 OCR 搜索结果后出现多余的 `span` 字符串 Fix https://github.com/siyuan-note/siyuan/issues/7119

Liang Ding 2 năm trước cách đây
mục cha
commit
e706f26e68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kernel/treenode/node.go

+ 1 - 1
kernel/treenode/node.go

@@ -186,7 +186,7 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string) string {
 				buf.WriteByte(' ')
 			}
 			if nil != linkDest {
-				buf.Write(n.Tokens)
+				buf.Write(linkDest.Tokens)
 				buf.WriteByte(' ')
 
 			}