mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve escaping
This commit is contained in:
parent
7446599c0f
commit
eafac1498a
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ type BoxInfo struct {
|
|||
func (box *Box) GetInfo() (ret *BoxInfo) {
|
||||
ret = &BoxInfo{
|
||||
ID: box.ID,
|
||||
Name: box.Name,
|
||||
Name: util.EscapeHTML(box.Name),
|
||||
}
|
||||
|
||||
fileInfos := box.ListFiles("/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue