[html5] r8237 - [e] (0) Missed a case in previous checkin. Fixing https://www.w3.org/Bugs/Public [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 22 15:03:26 PDT 2013


Author: ianh
Date: 2013-10-22 15:03:24 -0700 (Tue, 22 Oct 2013)
New Revision: 8237

Modified:
   complete.html
   index
   source
Log:
[e] (0) Missed a case in previous checkin.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23590
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-10-22 21:37:35 UTC (rev 8236)
+++ complete.html	2013-10-22 22:03:24 UTC (rev 8237)
@@ -52059,7 +52059,7 @@
 
   <p class=note>The easiest and safest way to avoid the rather strange restrictions described in
   this section is to always escape "<code title=""><!--</code>" as "<code title=""><\!--</code>", "<code title=""><script</code>" as "<code title=""><\script</code>", and "<code title=""></script</code>" as "<code title=""><\/script</code>" when these sequences appear in scripts (e.g. in strings or in
-  comments). Alternatively, always replace "<code><</code>" characters in strings and comments in
+  comments). Alternatively, always replace "<code><</code>" characters in strings, regular expression literals, and comments in
   <code><a href=#the-script-element>script</a></code> blocks as "\u003C". Doing either of these avoids the pitfalls that the restrictions in this section are prone to
   triggering: namely, that, for historical reasons, parsing of <code><a href=#the-script-element>script</a></code> blocks in HTML is
   a strange and exotic practice that acts unintuitively in the face of these strings.</p>

Modified: index
===================================================================
--- index	2013-10-22 21:37:35 UTC (rev 8236)
+++ index	2013-10-22 22:03:24 UTC (rev 8237)
@@ -52059,7 +52059,7 @@
 
   <p class=note>The easiest and safest way to avoid the rather strange restrictions described in
   this section is to always escape "<code title=""><!--</code>" as "<code title=""><\!--</code>", "<code title=""><script</code>" as "<code title=""><\script</code>", and "<code title=""></script</code>" as "<code title=""><\/script</code>" when these sequences appear in scripts (e.g. in strings or in
-  comments). Alternatively, always replace "<code><</code>" characters in strings and comments in
+  comments). Alternatively, always replace "<code><</code>" characters in strings, regular expression literals, and comments in
   <code><a href=#the-script-element>script</a></code> blocks as "\u003C". Doing either of these avoids the pitfalls that the restrictions in this section are prone to
   triggering: namely, that, for historical reasons, parsing of <code><a href=#the-script-element>script</a></code> blocks in HTML is
   a strange and exotic practice that acts unintuitively in the face of these strings.</p>

Modified: source
===================================================================
--- source	2013-10-22 21:37:35 UTC (rev 8236)
+++ source	2013-10-22 22:03:24 UTC (rev 8237)
@@ -57559,7 +57559,7 @@
   data-x=""><\!--</code>", "<code data-x=""><script</code>" as "<code
   data-x=""><\script</code>", and "<code data-x=""></script</code>" as "<code
   data-x=""><\/script</code>" when these sequences appear in scripts (e.g. in strings or in
-  comments). Alternatively, always replace "<code><</code>" characters in strings and comments in
+  comments). Alternatively, always replace "<code><</code>" characters in strings, regular expression literals, and comments in
   <code>script</code> blocks as "\u003C". Doing either of these avoids the pitfalls that the restrictions in this section are prone to
   triggering: namely, that, for historical reasons, parsing of <code>script</code> blocks in HTML is
   a strange and exotic practice that acts unintuitively in the face of these strings.</p>




More information about the Commit-Watchers mailing list