mirror of
https://github.com/golang/go
synced 2024-11-20 09:04:44 -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:
parent
811d334a65
commit
98e723ed09
@ -394,7 +394,7 @@ func TestEscape(t *testing.T) {
|
||||
{
|
||||
"styleStrSpecialsEncoded",
|
||||
`<a style="font-family: '{{"/**/'\";:// \\"}}', "{{"/**/'\";:// \\"}}"">`,
|
||||
`<a style="font-family: '\2f**\2f\27\22\3b\3a\2f\2f \\', "\2f**\2f\27\22\3b\3a\2f\2f \\"">`,
|
||||
`<a style="font-family: '\2f**\2f\27\22\3b\3a\2f\2f \\', "\2f**\2f\27\22\3b\3a\2f\2f \\"">`,
|
||||
},
|
||||
{
|
||||
"styleURLSpecialsEncoded",
|
||||
|
Loading…
Reference in New Issue
Block a user