- From: poot <cvsmail@w3.org>
- Date: Wed, 6 Jan 2010 21:12:00 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Oops, text/plain docs were losing a leading U+000A. (whatwg r4527) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3623&r2=1.3624&f=h http://html5.org/tools/web-apps-tracker?from=4526&to=4527 =================================================================== 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:12:29 UTC