summaryrefslogtreecommitdiff
path: root/src/pkg/html/template/html.go
diff options
context:
space:
mode:
authorScott Lawrence <bytbox@gmail.com>2012-03-05 10:58:43 +1100
committerScott Lawrence <bytbox@gmail.com>2012-03-05 10:58:43 +1100
commit97ed6b42ddd1d61bb356743c913640aa27417519 (patch)
tree874abcee3dabec71aa5851e5df8931801470f968 /src/pkg/html/template/html.go
parent484be9a25317dc758fe16ac52f904f888da8dee5 (diff)
downloadgo-97ed6b42ddd1d61bb356743c913640aa27417519.tar.gz
html/template: fix comment typo
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5730051 Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'src/pkg/html/template/html.go')
-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 7b77d6531..36c88e23e 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)