- From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
- Date: Tue, 27 Feb 2001 16:49:42 +1300 (NZDT)
- To: hokamoto@mse.mei.co.jp, html-tidy@w3.org
Hiroyuki Okamoto is worried about Tidy changing <pre>AAAAAAA </pre> to <pre> AAAAAAA </pre> He should not be. HTML is an application of SGML, and linebreaks immediately after start tags or immediately before end tags ARE NOT REALLY THERE as far as SGML is concerned. The two examples are required to behave identically. What's more, they are both identical to <pre>AAAAAAA</pre> and <pre> AAAAAAA</pre> XML has different rules, so if this were an XML to XML transformation it would be a real problem. But for HTML it is not.
Received on Monday, 26 February 2001 22:50:25 UTC