- From: CVS User egraff <cvsmail@w3.org>
- Date: Fri, 16 May 2014 20:49:34 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-polyglot In directory roscoe:/tmp/cvs-serv14882 Modified Files: CR-html-polyglot-20140530.html Log Message: cleaned up some tags --- /sources/public/html5/html-polyglot/CR-html-polyglot-20140530.html 2014/05/16 20:45:16 1.3 +++ /sources/public/html5/html-polyglot/CR-html-polyglot-20140530.html 2014/05/16 20:49:34 1.4 @@ -830,12 +830,11 @@ is due to how parsers may create DOM nodes based on characters and whitespace. The following script element, because it contains no whitespace outside the CDATA node, has one node, whether parsed as HTML or as XML: - <br /> - <code > - <pre> -<script><![CDATA[foo]]>/<script> - </pre> - </code> + </p> + <p> + <code><script><![CDATA[foo]]>/<script></code> + </p> + <p> Because an author may need to comment out the CDATA "start tag" and "end tag," <a>polyglot markup</a> allows for one node before and after the CDATA section. The following example has three nodes: one text node before the CDATA section,
Received on Friday, 16 May 2014 20:49:35 UTC