🎨 Escape issue

This commit is contained in:
Daniel 2023-09-12 18:00:50 +08:00
parent 021e09e444
commit 07b28ddb48
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1058,7 +1058,8 @@ func GetHPathsByPaths(paths []string) (hPaths []string, err error) {
continue
}
hPaths = append(hPaths, box.Name+bt.HPath)
hpath := html.UnescapeString(bt.HPath)
hPaths = append(hPaths, util.EscapeHTML(box.Name)+hpath)
}
return
}