- From: Duncan Booth <duncan.booth@suttoncourtenay.org.uk>
- Date: Tue, 31 Jan 2006 13:10:04 +0000 (UTC)
- To: www-svg@w3.org
- Cc: www-style@w3.org
Bjoern Hoehrmann wrote: > Given that the default white space > processing rules suggest Tidy can rewrite the latter to > > <p class="pre">some text here</p> > > it's likely to do that. If you use e.g. ASCII art, this will totally > obscure the text. Of course, maybe <pre> should be used instead, or Tidy > should implement CSS, but there is a little bit more than pure style to > xml:space. This is somewhat irrelevant to the thread, but using <pre> doesn't stop Tidy from corrupting whitespace. e.g. it will reformat: <pre>line 1<br>line 2</pre> to: <pre>line 1<br> line 2</pre> so you get two linebreaks where previously there was only one. It would be nice if Tidy was a bit cleverer all round where whitespace is concerned.
Received on Wednesday, 1 February 2006 22:47:54 UTC