]> Cypherpunks repositories - gostls13.git/commitdiff
html/template: fix comment typo
authorScott Lawrence <bytbox@gmail.com>
Sun, 4 Mar 2012 23:58:43 +0000 (10:58 +1100)
committerRob Pike <r@golang.org>
Sun, 4 Mar 2012 23:58:43 +0000 (10:58 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5730051

src/pkg/html/template/html.go

index 7b77d6531ab775807614ec11091732af8895da0f..36c88e23e6e4e1530c9dfc4474f12659e76ce68a 100644 (file)
@@ -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)