W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2011

eliot: Edited the example in Section 7, Attributes, to include escaped characters for less-than and greater-than characters.

From: poot <cvsmail@w3.org>
Date: Thu, 03 Mar 2011 17:32:10 -0500
To: public-html-diffs@w3.org
Message-Id: <E1PvH46-0006bb-N7@jay.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">&lt;iframe srcdoc="&lt;p&gt;Hello &amp;#x0A; &amp;#x09; world!&lt;/p&gt;" src="demo_iframe_srcdoc.htm"&gt;&lt;/iframe&gt;</pre>
+<pre class="example">&lt;iframe srcdoc="&amp;lt;p&amp;gt;Hello &amp;#x0A; &amp;#x09; world!&amp;lt;/p&amp;gt;" src="demo_iframe_srcdoc.htm"&amp;gt;&lt;/iframe&gt;</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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 March 2011 22:32:13 GMT