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

This commit is contained in:
Liang Ding 2023-01-18 23:49:42 +08:00
parent 2476776c83
commit e706f26e68
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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(' ')
}