hixie: Make HTML serialisation more conservative near <pre>. (whatwg r6940)

hixie: Make HTML serialisation more conservative near <pre>. (whatwg
r6940)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5537&r2=1.5538&f=h
http://html5.org/tools/web-apps-tracker?from=6939&to=6940

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5537
retrieving revision 1.5538
diff -u -d -r1.5537 -r1.5538
--- Overview.html 31 Jan 2012 00:32:39 -0000 1.5537
+++ Overview.html 31 Jan 2012 00:39:09 -0000 1.5538
@@ -65656,8 +65656,11 @@
         
 
         <p>If <var title="">current node</var> is a <code><a href="#the-pre-element">pre</a></code>,
-        <code><a href="#the-textarea-element">textarea</a></code>, or <code><a href="#listing">listing</a></code> element, append
-        a U+000A LINE FEED (LF) character.</p>
+        <code><a href="#the-textarea-element">textarea</a></code>, or <code><a href="#listing">listing</a></code> element, and
+        the first child node of the element, if any, is a <a href="#text-node">text
+        node</a> whose character data has as its first character a
+        U+000A LINE FEED (LF) character, then append a U+000A LINE
+        FEED (LF) character.</p>
 
         <p>Append the value of running the <a href="#html-fragment-serialization-algorithm">HTML fragment
         serialization algorithm</a> on the <var title="">current

Received on Tuesday, 31 January 2012 00:39:21 UTC