html fix
This commit is contained in:
parent
5b620714d3
commit
9f2eea189b
|
@ -129,7 +129,7 @@ func dirList(w http.ResponseWriter, r *http.Request, f File) {
|
|||
// part of the URL path, and not indicate the start of a query
|
||||
// string or fragment.
|
||||
url := url.URL{Path: name}
|
||||
fmt.Fprintf(w, "<tr><td><a href=\"%s\"%s</a></td><td>%d</td><td>%s</td></tr>", url.String(), htmlReplacer.Replace(name), d.Size(), d.ModTime().String())
|
||||
fmt.Fprintf(w, "<tr><td><a href=\"%s\">%s</a></td><td>%d</td><td>%s</td></tr>", url.String(), htmlReplacer.Replace(name), d.Size(), d.ModTime().String())
|
||||
|
||||
// fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue