Re: Amaya white-space handling

On Tue, 28 Oct 2003 11:37:36 +0100
Bartolomé Sintes Marco <BartolomeSintes@ono.com> wrote:

> Hi
> 
> I do not like how Amaya handles white-spaces nowadays. Amaya deletes double white-spaces except inside <pre> tags (at least). But white-space handling can be defined by CSS white-space property and Amaya does not take it into account.

We know that but unfornately Amaya doesn't interpret this CSS property today.

> For example, I can not create this file with Amaya:
> 
> p.csscode { white-space: pre; }
> 
> <p class="csscode">This is a sample of a CSS file:<br />
> h1<br />
>     {<br />
>          color: white;<br />
>          background-color: black;<br />
>     }</p>
> 
> because Amaya deletes the white-spaces.
> 
> This behaviour was added to Amaya in a recent release (I can not remember exactly when). Can you change to the old way or are there other benefits from it?

What I suggest for the next week release is to:
- Add an option in the configuration file thot.rc that let you desactive that behaviour.
- Handle correctly the xml:space attribute.

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Wednesday, 29 October 2003 04:33:34 UTC