Revert to fprintf

This commit is contained in:
Eliot Whalan 2016-06-24 11:06:29 +10:00
parent 7b7995dcab
commit e1f18e7ef0
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
} else {
dat, err := ioutil.ReadFile("assets/syntax.html")
check(err)
w.Write(string(dat), paste, paste, s, ADDRESS, link)
fmt.Fprintf(w, string(dat), paste, paste, s, ADDRESS, link)
}
}