From bbed111294c96067347ec1b914c21d5b519837bd Mon Sep 17 00:00:00 2001
From: Aryeh Gregor
Date: Fri, 17 Nov 2006 12:42:16 +0000
Subject: [PATCH] Right angle bracket never needs to be escaped except "when it
appears in the string "]]>" in content, when that string is not marking the
end of a CDATA section." No point in escaping it other times (even when it
follows a literal left angle bracket, since that will already be escaped).
http://www.w3.org/TR/2006/REC-xml-20060816/#syntax
---
maintenance/parserTests.txt | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index ff48509a3a..1579c2257f 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -5995,15 +5995,6 @@ RAW magic word
!! end
-!! test
-TODO: Always escape literal '>' in output, not just after '<'
-!! input
-><>
-!! result
-><>
-
-!! end
-
!! test
Template caching
!! input
@@ -6097,4 +6088,4 @@ more tables
math
character entities
and much more
-Try for 100% code coverage
+Try for 100% code coverage
\ No newline at end of file
--
2.20.1