mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-18 12:10:14 +00:00
🎨 Escape marketplace package author name (#17457)
This commit is contained in:
@@ -135,6 +135,7 @@ func sanitizePackageDisplayStrings(pkg *Package) {
|
||||
if pkg == nil {
|
||||
return
|
||||
}
|
||||
pkg.Author = html.EscapeString(pkg.Author)
|
||||
for k, v := range pkg.DisplayName {
|
||||
pkg.DisplayName[k] = html.EscapeString(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user