CVS html5/html-polyglot

Update of /sources/public/html5/html-polyglot
In directory roscoe:/tmp/cvs-serv22666/html-polyglot

Modified Files:
	html-polyglot.html 
Log Message:
Adjustment of the fix for bug 23593

--- /sources/public/html5/html-polyglot/html-polyglot.html	2013/11/02 05:36:18	1.7
+++ /sources/public/html5/html-polyglot/html-polyglot.html	2013/11/02 05:38:57	1.8
@@ -869,7 +869,7 @@
         </section>
         <section id="CDATA-comment-syntax-in-script">
             <h6>Comment syntax in <code>script</code></h6>
-            <p>Do not place the <code>&lt;script></code> start tag inside comments inside the <code>script</code> element as this causes the HTML parser, for compatibility related reasons, to <strong>not</strong> close the element on the next <code>&lt;/script></code> end tag unless a closing <code>--></code> comment string has occurred first. Alternatively, if it doesn’t see any comment end first, the element will be closed on the <em>second</em> <code>&lt;/script></code> end tag. This idiosyncratic behavior is not seen for the <code>style</code> element, however. </p>
+            <p>Do not place strings in the shapes of the <code>&lt;script></code> start tag inside comments inside the <code>script</code> element as this causes the HTML parser, for compatibility related reasons, to <strong>not</strong> close the element on the next <code>&lt;/script></code> end tag unless a closing <code>--></code> comment string has occurred first. Alternatively, if it doesn’t see any comment end first, the element will be closed on the <em>second</em> <code>&lt;/script></code> end tag. This idiosyncratic behavior is not seen for the <code>style</code> element, however. </p>
           <p class="note">To avoid these parsing suprises, including the differences between <code>style</code> and <code>script</code>, simply avoid comments in these elements.</p>
         </section>
     </section>

Received on Saturday, 2 November 2013 05:38:58 UTC