🎨 Add OCR-related operations to the picture menu https://github.com/siyuan-note/siyuan/issues/7203

This commit is contained in:
Liang Ding 2023-04-14 15:22:41 +08:00
parent 9461cc3f95
commit 6d91b2d6f1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -172,7 +172,7 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
var linkDestStr, ocrText string
if nil != linkDest {
linkDestStr = linkDest.TokensStr()
ocrText = util.GetAssetText(linkDestStr)
ocrText = util.GetAssetText(linkDestStr, false)
}
linkText := n.ChildByType(ast.NodeLinkText)