mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-08 01:38:50 +01:00
🐛 Breadcrumbs are escaped multiple times Fix https://github.com/siyuan-note/siyuan/issues/8580
This commit is contained in:
parent
ed5700ebd6
commit
7475d79ba5
3 changed files with 3 additions and 19 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue