1
0
mirror of https://github.com/golang/go synced 2024-11-12 02:10:21 -07:00

html/template: fix comment typo

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5730051
This commit is contained in:
Scott Lawrence 2012-03-05 10:58:43 +11:00 committed by Rob Pike
parent bc1e89008d
commit 30f9c99e3e

View File

@ -134,7 +134,7 @@ var htmlNospaceNormReplacementTable = []string{
'`': "`",
}
// 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)