Commit 98e723ed authored by Nigel Tao's avatar Nigel Tao

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

R=mikesamuel
CC=golang-dev
https://golang.org/cl/5313044
parent 811d334a
...@@ -394,7 +394,7 @@ func TestEscape(t *testing.T) { ...@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment