- From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
- Date: Thu, 14 Sep 2000 13:48:06 +1200 (NZST)
- To: html-tidy@w3.org, saexpress@netscape.net
Chris Matson wrote: Pretty layout problem <!-- comment goes here --> <!--#include file="footer.inc" --> <!-- another comment goes here --> when TIDY'd (? sp.) looks like this <!-- comment goes here --><!--#include file="footer.inc" --><!-- another comment goes here --> Certainly a problem, because the two have different content. Put this in an element: <PRE> <!-- comment goes here --> <!--#include file="footer.inc" --> <!-- another comment goes here --> </PRE> This has content '\n' '<!--#include file="footer.inc" -->' '\n' in HTML, or '\n\n' '<!--#include file="footer.inc" -->' '\n\n' in XHTML. The flattened form loses some of the newlines. Does Tidy always do this, or only in elements where spaces are squished (<P> and the like)?
Received on Wednesday, 13 September 2000 21:48:13 UTC