From: Aryeh Gregor
Date: Fri, 17 Nov 2006 12:42:16 +0000 (+0000)
Subject: Right angle bracket never needs to be escaped except "when it appears in the string...
X-Git-Tag: 1.31.0-rc.0~55159
X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=bbed111294c96067347ec1b914c21d5b519837bd;p=lhc%2Fweb%2Fwiklou.git
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). w3.org/TR/2006/REC-xml-20060816/#syntax
---
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