- From: CVS User lsilli <cvsmail@w3.org>
- Date: Sat, 02 Nov 2013 11:04:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-polyglot
In directory roscoe:/tmp/cvs-serv8114/html-polyglot
Modified Files:
html-polyglot.html
Log Message:
Fixing bug 13604, about CDATA.
--- /sources/public/html5/html-polyglot/html-polyglot.html 2013/11/02 10:43:39 1.12
+++ /sources/public/html5/html-polyglot/html-polyglot.html 2013/11/02 11:04:32 1.13
@@ -1013,9 +1013,11 @@
that content SHOULD use the hexadecimal form of character escapes rather than the decimal form when both are available. [[!CHARMOD]]
</p>
<p>
- <a title="polyglot markup">Polyglot markup</a> always uses character references for the less than sign (<code><</code>) and ampersand (<code>&</code>) when they are used as characters,
- except when those characters appear inside a CDATA section.
- </p>
+ <a title="polyglot markup">Polyglot markup</a> always uses character references for the less than sign (<code><</code>) and ampersand (<code>&</code>) when they are used as characters, however for CDATA inside foreign content and for <a href="#safe-CDATA-content">safe CDATA</a>, the following rules apply:</p>
+ <ul>
+ <li>for <code>script</code> and <code>style</code> elements that contain <a href="#safe-CDATA-content">safe CDATA</a>, they may used as defined by the rules for safe CDATA;</li>
+ <li>for CDATA sections in a foreign content section (SVG, MathML), the XML rules for CDATA apply;</li>
+ </ul>
<!--End section: Named Entity References-->
</section>
Received on Saturday, 2 November 2013 11:04:33 UTC