Remove br tag
This commit is contained in:
parent
68fb6aeebc
commit
dbf677ccf8
2
main.go
2
main.go
|
@ -166,7 +166,7 @@ func saveHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
w.Write(x)
|
w.Write(x)
|
||||||
case "html":
|
case "html":
|
||||||
w.Header().Set("Content-Type", "text/html")
|
w.Header().Set("Content-Type", "text/html")
|
||||||
io.WriteString(w, "<p><b>URL</b>: <a href='"+b.URL+"'>"+b.URL+"</a></p><br/>")
|
io.WriteString(w, "<p><b>URL</b>: <a href='"+b.URL+"'>"+b.URL+"</a></p>")
|
||||||
io.WriteString(w, "<p><b>Delete Key</b>: <a href='"+b.URL+"/p/"+b.DELKEY+"'>"+b.DELKEY+"</a></p>")
|
io.WriteString(w, "<p><b>Delete Key</b>: <a href='"+b.URL+"/p/"+b.DELKEY+"'>"+b.DELKEY+"</a></p>")
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue