W3C home > Mailing lists > Public > www-svg@w3.org > February 2006

Re: SVGT 1.2: A proposal for how to define SVG whitespace in terms of CSS whitespace

From: Duncan Booth <duncan.booth@suttoncourtenay.org.uk>
Date: Tue, 31 Jan 2006 13:10:04 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Xns975C85F032A86duncanrcpcouk@>
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>


<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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:07 UTC