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

html5/html-xhtml-author-guide html-xhtml-authoring-guide.html,1.61,1.62

From: Eliot Graff via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 03 Mar 2011 22:30:55 +0000
To: public-html-commits@w3.org
Message-Id: <E1PvH2t-0007EW-Af@lionel-hutz.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">&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:30:56 GMT

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