mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-06 15:41:48 +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
|
|
@ -33,6 +33,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/gabriel-vasile/mimetype"
|
||||
|
|
@ -354,7 +355,7 @@ func uploadAssets2Cloud(sqlAssets []*sql.Asset, bizType string) (err error) {
|
|||
continue
|
||||
}
|
||||
|
||||
msg := fmt.Sprintf(Conf.Language(27), absAsset)
|
||||
msg := fmt.Sprintf(Conf.Language(27), html.EscapeString(absAsset))
|
||||
util.PushStatusBar(msg)
|
||||
util.PushUpdateMsg(msgId, msg, 3000)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue