aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/css_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/template/css_test.go')
-rw-r--r--src/html/template/css_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/template/css_test.go b/src/html/template/css_test.go
index a735638b03..2b76256a76 100644
--- a/src/html/template/css_test.go
+++ b/src/html/template/css_test.go
@@ -231,6 +231,8 @@ func TestCSSValueFilter(t *testing.T) {
{`-exp\000052 ession(alert(1337))`, "ZgotmplZ"},
{`-expre\0000073sion`, "-expre\x073sion"},
{`@import url evil.css`, "ZgotmplZ"},
+ {"<", "ZgotmplZ"},
+ {">", "ZgotmplZ"},
}
for _, test := range tests {
got := cssValueFilter(test.css)