🐛 Breadcrumbs are escaped multiple times Fix https://github.com/siyuan-note/siyuan/issues/8580

This commit is contained in:
Daniel 2023-06-22 16:58:24 +08:00
parent ed5700ebd6
commit 7475d79ba5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 3 additions and 19 deletions

View file

@ -522,20 +522,6 @@ func nodeContentByBlock(block *Block) (ret string) {
return
}
func nodeContentByNode(node *ast.Node, text string) (ret string) {
if ret = node.IALAttr("name"); "" != ret {
return
}
if ret = node.IALAttr("memo"); "" != ret {
return
}
if maxLen := 48; maxLen < utf8.RuneCountInString(text) {
text = gulu.Str.SubStr(text, maxLen) + "..."
}
ret = html.EscapeString(text)
return
}
func graphTypeFilter(local bool) string {
var inList []string