aboutsummaryrefslogtreecommitdiff
path: root/src/html/template
diff options
context:
space:
mode:
authorKevin Burke <kev@inburke.com>2017-03-07 09:03:40 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2017-03-07 17:42:45 +0000
commitc5cdda401e483a3a4dae7cc61eb78521ab953b04 (patch)
tree2a0c4a918f60deb213f4e4a779d834b6f041b8c9 /src/html/template
parentf639353330797b819f29fa2b9b4b73d09b4c7584 (diff)
downloadgo-c5cdda401e483a3a4dae7cc61eb78521ab953b04.tar.xz
encoding/base64, html/template: fix grammar mistakes
Replace 'does not contains' with 'does not contain' where it appears in the source code. Change-Id: Ie7266347c429512c8a41a7e19142afca7ead3922 Reviewed-on: https://go-review.googlesource.com/37887 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/html/template')
-rw-r--r--src/html/template/escape_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/escape_test.go b/src/html/template/escape_test.go
index f6ace496e7..0c854c31a3 100644
--- a/src/html/template/escape_test.go
+++ b/src/html/template/escape_test.go
@@ -359,7 +359,7 @@ func TestEscape(t *testing.T) {
{
"styleStrEncodedProtocolEncoded",
`<a style="background: '{{"javascript\\3a alert(1337)"}}'">`,
- // The CSS string 'javascript\\3a alert(1337)' does not contains a colon.
+ // The CSS string 'javascript\\3a alert(1337)' does not contain a colon.
`<a style="background: 'javascript\\3a alert\28 1337\29 '">`,
},
{