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:
parent
bc1e89008d
commit
30f9c99e3e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user