diff --git a/cmd/root.go b/cmd/root.go index 61160d8..2aede75 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -11,7 +11,7 @@ import ( ) const ( - Version string = "0.51.5" + Version string = "0.52.0" ) var ( diff --git a/cmd/web.go b/cmd/web.go index caf429e..47396ba 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -678,19 +678,19 @@ func serveDebugHtml(args []string, index *Index) httprouter.Handle { htmlBody.WriteString(``) htmlBody.WriteString(``) htmlBody.WriteString(``) - htmlBody.WriteString(``) + htmlBody.WriteString(``) htmlBody.WriteString(`Index contains `) htmlBody.WriteString(fileCount) - htmlBody.WriteString(` files`) + htmlBody.WriteString(` files`) for _, v := range indexDump { var shouldSort = "" if sorting { shouldSort = "?sort=asc" } - htmlBody.WriteString(fmt.Sprintf("%s\n", ImagePrefix, v, shouldSort, v)) + htmlBody.WriteString(fmt.Sprintf("\n", ImagePrefix, v, shouldSort, v)) } - htmlBody.WriteString(``) + htmlBody.WriteString(`
%s
`) b, err := io.WriteString(w, gohtml.Format(htmlBody.String())) if err != nil {