mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Escape the notification message https://github.com/siyuan-note/siyuan/issues/7811
This commit is contained in:
parent
7dbfa43de4
commit
0a10285167
7 changed files with 14 additions and 8 deletions
|
|
@ -31,6 +31,7 @@ import (
|
|||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/88250/lute/ast"
|
||||
"github.com/88250/lute/html"
|
||||
"github.com/88250/lute/parse"
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/facette/natsort"
|
||||
|
|
@ -403,7 +404,7 @@ func (box *Box) moveTrees0(files []*FileInfo) {
|
|||
|
||||
treenode.SetBlockTreePath(subTree)
|
||||
sql.RenameSubTreeQueue(subTree)
|
||||
msg := fmt.Sprintf(Conf.Language(107), subTree.HPath)
|
||||
msg := fmt.Sprintf(Conf.Language(107), html.EscapeString(subTree.HPath))
|
||||
util.PushStatusBar(msg)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue