aboutsummaryrefslogtreecommitdiff
path: root/src/html/template
diff options
context:
space:
mode:
authorMarcel Edmund Franke <marcel.edmund.franke@gmail.com>2016-11-14 21:46:25 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-14 21:28:31 +0000
commit2442b49c47aa818bbc55e4c064e9ea0ca058735f (patch)
tree616089eb89be9b827fb2b13c97fc79121406d9bc /src/html/template
parent794fb71d9c1018c4beae1657baca5229e6a02ad0 (diff)
downloadgo-2442b49c47aa818bbc55e4c064e9ea0ca058735f.tar.xz
html/template: typo fix
comment on unexported function starts with wrong functionname Change-Id: Ib16c2fe42b5a8d4606ed719f620923c17839d091 Reviewed-on: https://go-review.googlesource.com/33203 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/html/template')
-rw-r--r--src/html/template/url.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/url.go b/src/html/template/url.go
index 246bfd32cd..02123b2ccc 100644
--- a/src/html/template/url.go
+++ b/src/html/template/url.go
@@ -32,7 +32,7 @@ func urlEscaper(args ...interface{}) string {
return urlProcessor(false, args...)
}
-// urlEscaper normalizes URL content so it can be embedded in a quote-delimited
+// urlNormalizer normalizes URL content so it can be embedded in a quote-delimited
// string or parenthesis delimited url(...).
// The normalizer does not encode all HTML specials. Specifically, it does not
// encode '&' so correct embedding in an HTML attribute requires escaping of