From 6660ecf1b6c7feaa319b220e4d5d7fe2e4193105 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 23 Jun 2016 13:49:52 +1000 Subject: [PATCH] Fix spacing in html response type --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 83cc06a..0530e76 100644 --- a/main.go +++ b/main.go @@ -166,11 +166,11 @@ func saveHandler(w http.ResponseWriter, r *http.Request) { w.Write(x) case "html": w.Header().Set("Content-Type", "text/html") - io.WriteString(w, "

ID

"+b.ID+"


") - io.WriteString(w, "

hash

"+string(b.HASH)+"


") - io.WriteString(w, "

URL

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

hash

"+string(b.SIZE)+"


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

ID: "+b.ID+"


") + io.WriteString(w, "

Hash"+string(b.HASH)+"


") + io.WriteString(w, "

URL"+b.URL+"


") + io.WriteString(w, "

Size"+string(b.SIZE)+"


") + io.WriteString(w, "

Delete Key"+b.DELKEY+"

") default: io.WriteString(w, b.URL+"\n")