🐛 Cannot replace >
in code block https://github.com/siyuan-note/siyuan/issues/12660
This commit is contained in:
parent
94bcc359ff
commit
991bf26d57
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ func EscapeHTML(s string) (ret string) {
|
|||
ret = strings.ReplaceAll(ret, "__@gt__", ">")
|
||||
ret = strings.ReplaceAll(ret, "__@34__", """)
|
||||
ret = strings.ReplaceAll(ret, "__@13__", " ")
|
||||
ret = strings.ReplaceAll(ret, "<", "&lt;")
|
||||
ret = strings.ReplaceAll(ret, ">", "&gt;")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue