mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Improve breadcrumb content escaping https://github.com/siyuan-note/siyuan/issues/13961
This commit is contained in:
parent
bd34115c9a
commit
9ea85963cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue