W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

RE: expanding 

From: Randy Waki <rwaki@flipdog.com>
Date: Tue, 10 Oct 2000 13:29:31 -0600
To: "Robert Skinner" <robert@icopyright.com>, <html-tidy@w3.org>
Message-ID: <000f01c032f0$69bdcc40$b665a8c0@rwaki>
Robert Skinner wrote:
> 
> Carriage return is a valid XML character, so the entity &#13; is a legal
> XML entity (isn't it?)  So shouldn't tidy convert &#13; to a carriage
> return?

Tidy is probably doing this because of XML's end-of-line rule in section
2.11 that requires XML parsers to convert actual carriage return
characters into line feed characters.  Tidy has to output it as an
entity in order to preserve it.

--Randy
Received on Tuesday, 10 October 2000 15:31:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT