From a53c3b814b17dda972a843ccf77e0db06cc19e1a Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 23 Jun 2016 13:46:36 +1000 Subject: [PATCH] Correct html error --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a203f7c..83cc06a 100644 --- a/main.go +++ b/main.go @@ -167,9 +167,9 @@ func saveHandler(w http.ResponseWriter, r *http.Request) { case "html": w.Header().Set("Content-Type", "text/html") io.WriteString(w, "

ID

"+b.ID+"


") - io.WriteString(w, "

hash

"+b.HASH+"


") + io.WriteString(w, "

hash

"+string(b.HASH)+"


") io.WriteString(w, "

URL

"+b.URL+"
") - io.WriteString(w, "

hash

"+b.SIZE+"


") + io.WriteString(w, "

hash

"+string(b.SIZE)+"


") io.WriteString(w, ""+b.DELKEY+"") default: