From 1f0d277cc1bfac5a92432f645c6a504a17dabce0 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 25 Aug 2011 13:48:21 +1000 Subject: [PATCH] exp/template/html: add some tests for ">" attributes. R=mikesamuel CC=golang-dev https://golang.org/cl/4956042 --- src/pkg/exp/template/html/escape_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/pkg/exp/template/html/escape_test.go b/src/pkg/exp/template/html/escape_test.go index ee36da22577..6bab5078740 100644 --- a/src/pkg/exp/template/html/escape_test.go +++ b/src/pkg/exp/template/html/escape_test.go @@ -292,6 +292,18 @@ func TestEscapeText(t *testing.T) { ``, + context{state: stateText}, + }, + { + `1>`, + context{state: stateText}, + }, { `