]> Cypherpunks repositories - gostls13.git/commitdiff
html: fix escape_test.go for CSS escaper change 5306042.
authorNigel Tao <nigeltao@golang.org>
Tue, 18 Oct 2011 23:54:04 +0000 (10:54 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 18 Oct 2011 23:54:04 +0000 (10:54 +1100)
R=mikesamuel
CC=golang-dev
https://golang.org/cl/5313044

src/pkg/exp/template/html/escape_test.go

index e5f837093533151bf96060ab43bc8b7e7217a6ce..a4ea7596cd1175d9f6f679dbcd77d766da34d74d 100644 (file)
@@ -394,7 +394,7 @@ func TestEscape(t *testing.T) {
                {
                        "styleStrSpecialsEncoded",
                        `<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",