W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: Stripping leading line feeds

From: Philip Taylor <philip@zaynar.demon.co.uk>
Date: Sat, 18 Aug 2007 17:44:31 +0100
Message-ID: <46C721EF.3070200@zaynar.demon.co.uk>
CC: HTML WG <public-html@w3.org>

Philip Taylor wrote:
> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cstyle%3Ebody%20*%20%7B%20border%3A%201px%20solid%20%7D%3C/style%3E%0A%3Cbody%20onload%3D%22for%28var%20i%3D0%3Bi%3Cdocument.body.childNodes.length%3B++i%29w%28%27%3E%3E%3E%27+document.body.childNodes%5Bi%5D.firstChild.nodeValue+%27%3C%3C%3C%27%29%7D%22%3E%3Cdiv%3E%0A%0Adiv%0A%0A%3C/div%3E%3Cspan%20style%3D%22display%3A%20block%22%3E%0A%0Aspan%0A%0A%3C/span%3E%3Cp%20style%3D%22display%3A%20block%22%3E%0A%0Ap%0A%0A%3C/p%3E%3Cdiv%20style%3D%22white-space%3A%20pre%22%3E%0A%0Adiv%20white-space%3Apre%0A%0A%3C/div%3E%3Cspan%20style%3D%22white-space%3A%20pre%3B%20display%3A%20block%22%3E%0A%0Aspan%20white-space%3Apre%0A%0A%3C/span%3E%3Cp%20style%3D%22white-space%3A%20pre%3B%20display%3A%20block%22%3E%0A%0Ap%20white-space%3Apre%0A%0A%3C/p%3E%3Cpre%3E%0A%0Apre%0A%0A%3C/pre%3E%3Ctextarea%20rows%3D5%3E%0A%0Atextarea%0A%0A%3C/textarea%3E%3Cxmp%3E%0A%0Axmp%0A%0A%3C/xmp%3E%3Clisting%3E%0A%0Alisting%0A%0A%3
C/listing%3E%3Cplaintext%3E%0A%0Aplaintext%0A%0A

Oops - a slightly correcter version: 
<http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cstyle%3Ebody%20*%20%7B%20border%3A%201px%20solid%20%7D%3C/style%3E%0A%3Cbody%20onload%3D%22for%28var%20i%3D0%3Bi%3Cdocument.body.childNodes.length%3B++i%29w%28%27%3E%3E%3E%27+document.body.childNodes%5Bi%5D.firstChild.nodeValue+%27%3C%3C%3C%27%29%22%3E%3Cdiv%3E%0A%0Adiv%0A%0A%3C/div%3E%3Cspan%20style%3D%22display%3A%20block%22%3E%0A%0Aspan%0A%0A%3C/span%3E%3Cp%20style%3D%22display%3A%20block%22%3E%0A%0Ap%0A%0A%3C/p%3E%3Cdiv%20style%3D%22white-space%3A%20pre%22%3E%0A%0Adiv%20white-space%3Apre%0A%0A%3C/div%3E%3Cspan%20style%3D%22white-space%3A%20pre%3B%20display%3A%20block%22%3E%0A%0Aspan%20white-space%3Apre%0A%0A%3C/span%3E%3Cp%20style%3D%22white-space%3A%20pre%3B%20display%3A%20block%22%3E%0A%0Ap%20white-space%3Apre%0A%0A%3C/p%3E%3Cpre%3E%0A%0Apre%0A%0A%3C/pre%3E%3Ctextarea%20rows%3D5%3E%0A%0Atextarea%0A%0A%3C/textarea%3E%3Cxmp%3E%0A%0Axmp%0A%0A%3C/xmp%3E%3Clisting%3E%0A%0Alisting%0A%0A%3C/li
sting%3E%3Cplaintext%3E%0A%0Aplaintext%0A%0A> 


-- 
Philip Taylor
philip@zaynar.demon.co.uk
Received on Saturday, 18 August 2007 16:44:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:48 UTC