- From: poot <cvsmail@w3.org>
- Date: Thu, 03 Mar 2011 17:32:10 -0500
- To: public-html-diffs@w3.org
eliot: Edited the example in Section 7, Attributes, to include escaped characters for less-than and greater-than characters. http://dev.w3.org/cvsweb/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html?r1=1.61&r2=1.62&f=h =================================================================== 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:32:12 UTC