mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 01:50:58 +08:00
🎨 Improve breadcrumb content escaping https://github.com/siyuan-note/siyuan/issues/13961
This commit is contained in:
parent
bd34115c9a
commit
9ea85963cc
@ -585,6 +585,7 @@ func buildBlockBreadcrumb(node *ast.Node, excludeTypes []string, isEmbedBlock bo
|
||||
}
|
||||
|
||||
name = gulu.Str.SubStr(renderBlockText(b, excludeTypes, true), maxNameLen)
|
||||
name = util.UnescapeHTML(name)
|
||||
name = util.EscapeHTML(name)
|
||||
ret = append([]*BlockPath{{
|
||||
ID: b.ID,
|
||||
|
Loading…
Reference in New Issue
Block a user