W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2010

html5/spec Overview.html,1.3623,1.3624

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 06 Jan 2010 12:11:53 +0000
To: public-html-commits@w3.org
Message-Id: <E1NSUjy-0004UL-08@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17235

Modified Files:
	Overview.html 
Log Message:
Oops, text/plain docs were losing a leading U+000A. (whatwg r4527)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3623
retrieving revision 1.3624
diff -u -d -r1.3623 -r1.3624
--- Overview.html	6 Jan 2010 12:06:03 -0000	1.3623
+++ Overview.html	6 Jan 2010 12:11:50 -0000	1.3624
@@ -47951,9 +47951,11 @@
   context</a>, the user agent should <a href="#create-a-document-object">create a
   <code>Document</code> object</a>, mark it as being an <a href="#html-documents" title="HTML documents">HTML document</a>, create an <a href="#html-parser">HTML
   parser</a>, associate it with the document, act as if the
-  tokenizer had emitted a start tag token with the tag name "pre",
-  switch the <a href="#html-parser">HTML parser</a>'s tokenizer to the
-  <a href="#plaintext-state">PLAINTEXT state</a>, and begin to pass the stream of
+  tokenizer had emitted a start tag token with the tag name "pre"
+  followed by a single U+000A LINE FEED (LF) character<!-- to get
+  eaten, so that a leading LF in the text/plain stream doesn't get
+  eaten itself-->, switch the <a href="#html-parser">HTML parser</a>'s tokenizer to
+  the <a href="#plaintext-state">PLAINTEXT state</a>, and begin to pass the stream of
   characters in the plain text document to that tokenizer.</p>
 
   <p>The rules for how to convert the bytes of the plain text document
Received on Wednesday, 6 January 2010 12:11:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 6 January 2010 12:11:55 GMT