- From: Eliot Graff via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Mar 2011 22:30:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-xhtml-author-guide In directory hutz:/tmp/cvs-serv27788 Modified Files: html-xhtml-authoring-guide.html Log Message: Edited the example in Section 7, Attributes, to include escaped characters for less-than and greater-than characters. Index: html-xhtml-authoring-guide.html =================================================================== RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- html-xhtml-authoring-guide.html 3 Mar 2011 21:24:05 -0000 1.61 +++ html-xhtml-authoring-guide.html 3 Mar 2011 22:30:53 -0000 1.62 @@ -680,7 +680,7 @@ This is because of attribute-value normalization in XML [<cite><a href="#bib-XML10" rel="biblioentry" class="bibref">XML10</a></cite>]. The following example uses numeric character references (escaped characters) for the line feed and tab within a <code>srcdoc</code> attribute. </p> -<pre class="example"><iframe srcdoc="<p>Hello &#x0A; &#x09; world!</p>" src="demo_iframe_srcdoc.htm"></iframe></pre> +<pre class="example"><iframe srcdoc="&lt;p&gt;Hello &#x0A; &#x09; world!&lt;/p&gt;" src="demo_iframe_srcdoc.htm"&gt;</iframe></pre> <p class="note"> Because of attribute-value normalization in XML [<cite><a href="#bib-XML10" rel="biblioentry" class="bibref">XML10</a></cite>], <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> does not use newline characters within an attribute.
Received on Thursday, 3 March 2011 22:30:56 UTC