Re: bug report - unnecessary plain text formatting

On Mon,  8 Mar 2004 15:43:57 -0500 (EST)
Slim Amamou <slim.amamou@alpha-studios.com> wrote:

> 
> *Amaya version* : 8.2 nov 13 2003
> *platform* : Windows 98
> 
> Amaya inserts Carriage return in plain text text. this is a problem for 
> postprocessors (like CVS) which rely on some special formatting of text.
> 
> _Example_
> This portion of HTML code :
> (...)
> <body bgcolor="#FFFFCC" xml:lang="fr" lang="fr">
> <p><span class="alpha">Alpha Studios</span><br />
> <span class="docinfo">
> draft
> $Date: 2004/03/08 19:39:41 $
> $Revision: 1.9 $
> </span><br style="font-size: 10pt" />
> </p>
> (...)
> 
> Become like this :
> (...)
> <body bgcolor="#FFFFCC" xml:lang="fr" lang="fr">
> <p><span class="alpha">Alpha Studios</span><br />
> <span class="docinfo">draft $Date: 2004/03/08 19:39:41 $ $Revision: 1.9
> $</span><br style="font-size: 10pt" />
> </p>
> (...)
> 
> After opening the file, then saving it again. CVS will not recognize the 
> Revision tag.
> 
> -- 
> 
> Slim Amamou
> slim.amamou@alpha-studios.com
> Alpha Studios
> http://www.alpha-studios.com

Spaces and carriage returns are not preserved within a standard p element.
To preserve them you have to transform the paragraph into a preformated
or to add an xml attribute xml:space"preserve"

Regards
     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 Tuesday, 9 March 2004 08:39:47 UTC