mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 10:00:48 +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 = gulu.Str.SubStr(renderBlockText(b, excludeTypes, true), maxNameLen)
|
||||||
|
name = util.UnescapeHTML(name)
|
||||||
name = util.EscapeHTML(name)
|
name = util.EscapeHTML(name)
|
||||||
ret = append([]*BlockPath{{
|
ret = append([]*BlockPath{{
|
||||||
ID: b.ID,
|
ID: b.ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user