🎨 Improve outline panel escape rendering Fix https://github.com/siyuan-note/siyuan/issues/12001
This commit is contained in:
parent
a18559e6d0
commit
1645099945
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func renderOutline(heading *ast.Node, luteEngine *lute.Lute) (ret string) {
|
|||
tokens = bytes.ReplaceAll(tokens, []byte(" "), []byte(" ")) // 大纲面板条目中无法显示多个空格 https://github.com/siyuan-note/siyuan/issues/4370
|
||||
buf.Write(tokens)
|
||||
case ast.NodeBackslashContent:
|
||||
buf.Write(n.Tokens)
|
||||
buf.Write(html.EscapeHTML(n.Tokens))
|
||||
case ast.NodeTextMark:
|
||||
dom := luteEngine.RenderNodeBlockDOM(n)
|
||||
buf.WriteString(dom)
|
||||
|
|
Loading…
Add table
Reference in a new issue