Removed extraneous double quote in html generator
This commit is contained in:
parent
8e1ab46302
commit
7fe46868c5
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var Version = "0.12.2"
|
||||
var Version = "0.12.3"
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(versionCmd)
|
||||
|
|
|
@ -54,7 +54,7 @@ func serveHtml(w http.ResponseWriter, r http.Request, filePath string) error {
|
|||
htmlBody += `</title>
|
||||
</head>
|
||||
<body>`
|
||||
htmlBody += fmt.Sprintf(`"<a href="/?f=%v&s=%v"><img src="`, r.URL.Query().Get("f"), r.URL.Query().Get("s"))
|
||||
htmlBody += fmt.Sprintf(`<a href="/?f=%v&s=%v"><img src="`, r.URL.Query().Get("f"), r.URL.Query().Get("s"))
|
||||
htmlBody += PREFIX + filePath
|
||||
htmlBody += `"></img></a>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue