1
0
mirror of https://github.com/golang/go synced 2024-11-20 11:34:48 -07:00

html: fix escape_test.go for CSS escaper change 5306042.

R=mikesamuel
CC=golang-dev
https://golang.org/cl/5313044
This commit is contained in:
Nigel Tao 2011-10-19 10:54:04 +11:00
parent 811d334a65
commit 98e723ed09

View File

@ -394,7 +394,7 @@ func TestEscape(t *testing.T) {
{ {
"styleStrSpecialsEncoded", "styleStrSpecialsEncoded",
`<a style="font-family: '{{"/**/'\";:// \\"}}', &quot;{{"/**/'\";:// \\"}}&quot;">`, `<a style="font-family: '{{"/**/'\";:// \\"}}', &quot;{{"/**/'\";:// \\"}}&quot;">`,
`<a style="font-family: '\2f**\2f\27\22\3b\3a\2f\2f \\', &quot;\2f**\2f\27\22\3b\3a\2f\2f \\&quot;">`, `<a style="font-family: '\2f**\2f\27\22\3b\3a\2f\2f \\', &quot;\2f**\2f\27\22\3b\3a\2f\2f \\&quot;">`,
}, },
{ {
"styleURLSpecialsEncoded", "styleURLSpecialsEncoded",