Ver código fonte

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

Liang Ding 2 anos atrás
pai
commit
6d91b2d6f1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      kernel/treenode/node.go

+ 1 - 1
kernel/treenode/node.go

@@ -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)