aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Lawrence <bytbox@gmail.com>2012-03-05 10:58:43 +1100
committerRob Pike <r@golang.org>2012-03-05 10:58:43 +1100
commit30f9c99e3e96c22c57a5ef120d442a1d186a4ade (patch)
tree58d98148342e28b5b5122c48f6cf18bde5ca309f
parentbc1e89008d84eab2d661c6add8ef12e1dba32c93 (diff)
downloadgo-30f9c99e3e96c22c57a5ef120d442a1d186a4ade.tar.gz
go-30f9c99e3e96c22c57a5ef120d442a1d186a4ade.zip
html/template: fix comment typo
R=golang-dev, r CC=golang-dev https://golang.org/cl/5730051
-rw-r--r--src/pkg/html/template/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/template/html.go b/src/pkg/html/template/html.go
index 7b77d6531a..36c88e23e6 100644
--- a/src/pkg/html/template/html.go
+++ b/src/pkg/html/template/html.go
@@ -134,7 +134,7 @@ var htmlNospaceNormReplacementTable = []string{
'`': "&#96;",
}
-// htmlReplacer returns s with runes replaced acccording to replacementTable
+// htmlReplacer returns s with runes replaced according to replacementTable
// and when badRunes is true, certain bad runes are allowed through unescaped.
func htmlReplacer(s string, replacementTable []string, badRunes bool) string {
written, b := 0, new(bytes.Buffer)