diff --git a/doc/effective_go.html b/doc/effective_go.html
index ab21edfbba..b70d60a925 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -2857,8 +2857,8 @@ func QR(w http.ResponseWriter, req *http.Request) {
templ.Execute(req.FormValue("s"), w)
}
-func UrlHtmlFormatter(w io.Writer, v interface{}, fmt string) {
- template.HTMLEscape(w, []byte(http.URLEscape(v.(string))))
+func UrlHtmlFormatter(w io.Writer, fmt string, v ...interface{}) {
+ template.HTMLEscape(w, []byte(http.URLEscape(v[0].(string))))
}