css fixes
This commit is contained in:
parent
d6f6dd86d2
commit
814fd8a5f7
2 changed files with 27 additions and 17 deletions
|
|
@ -41,6 +41,7 @@ func (s *statusInterceptor) Status() int {
|
|||
|
||||
type dirContents struct {
|
||||
AllPaths []string `xml:"a"`
|
||||
Base string `xml:"-"`
|
||||
Dirs dirs `xml:"-"`
|
||||
Files files `xml:"-"`
|
||||
}
|
||||
|
|
@ -97,6 +98,7 @@ func (r *responseInterceptor) GetPaths(path string, fs *fs.FS) (dc dirContents,
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
dc.Base = path
|
||||
path = strings.TrimSuffix(path, "/")
|
||||
for _, p := range dc.AllPaths {
|
||||
p = strings.ReplaceAll(p, "&", "&")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue