|
@@ -253,11 +253,11 @@ func nodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
|
|
if n.IsTextMarkType("a") && includeTextMarkATitleURL {
|
|
if n.IsTextMarkType("a") && includeTextMarkATitleURL {
|
|
// 搜索不到超链接元素的 URL 和标题 https://github.com/siyuan-note/siyuan/issues/7352
|
|
// 搜索不到超链接元素的 URL 和标题 https://github.com/siyuan-note/siyuan/issues/7352
|
|
if "" != n.TextMarkATitle {
|
|
if "" != n.TextMarkATitle {
|
|
- buf.WriteString(" " + html.UnescapeHTMLStr(n.TextMarkATitle))
|
|
|
|
|
|
+ buf.WriteString(" " + util.UnescapeHTML(n.TextMarkATitle))
|
|
}
|
|
}
|
|
|
|
|
|
if !strings.HasPrefix(n.TextMarkAHref, "assets/") || includeAssetPath {
|
|
if !strings.HasPrefix(n.TextMarkAHref, "assets/") || includeAssetPath {
|
|
- buf.WriteString(" " + html.UnescapeHTMLStr(n.TextMarkAHref))
|
|
|
|
|
|
+ buf.WriteString(" " + util.UnescapeHTML(n.TextMarkAHref))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
case ast.NodeBackslashContent:
|
|
case ast.NodeBackslashContent:
|