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
|
// part of the URL path, and not indicate the start of a query
|
||||||
// string or fragment.
|
// string or fragment.
|
||||||
url := url.URL{Path: name}
|
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))
|
// fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue