CVS html5/html-polyglot

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

Modified Files:
	html-polyglot.html 
Log Message:
some more refinement related to bug 23593

--- /sources/public/html5/html-polyglot/html-polyglot.html	2013/11/02 05:42:09	1.10
+++ /sources/public/html5/html-polyglot/html-polyglot.html	2013/11/02 05:47:10	1.11
@@ -869,8 +869,8 @@
         </section>
         <section id="CDATA-comment-syntax-in-script">
             <h6>Comment syntax in <code>script</code></h6>
-            <p>Do not place strings in the shape 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 comment string (<code>--></code>) 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>
+            <p>Do not place strings in the shape 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 comment string (<code>--></code>) has occurred first. Alternatively, if the parser doesn’t see any comment end first, the element will be closed on the <em>second</em> <code>&lt;/script></code> end tag. If neither comment end or a second element end tag is found, the rest of the document will be swallowed.</p>
+          <p>This idiosyncratic behavior is not seen for the <code>style</code> element, however. To avoid the suprising difference between <code>style</code> and <code>script</code>, simply avoid comments in these elements.</p>
         </section>
     </section>
 

Received on Saturday, 2 November 2013 05:47:10 UTC