W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

Re: sometimes <pre> does not break lines in W2K

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Thu, 17 Mar 2005 09:10:16 +0100
To: Juan Lanus <jlanus@netscape.net>
Cc: www-amaya@w3.org
Message-Id: <200503170910.16648.vatton@inrialpes.fr>

Hi Juan,

> I suspect that the problem is that the original text comes with CRs or
> LFs only instead of the Windows CRLF format.

For Amaya, IE, Opera, Mozilla the break of lines is controled by LF.
When Amaya reads a document it removes CR and it exports CRLF for each LF when 
the document is saved provided the option is set.

> In fact, this happens many times when I paste in Amaya.
> It also happens if I do the regular ^H^P^V to set a pre tag and paste:
> sometimes all the (copied from web pages) text appears in one long line.
> If I paste into vim 2*P then copy from vim gg"*dG and paste back into
> Amaya ^H^P^V the text appears perfectly formatted. La soupe aux shortcuts!
> Saludos!
> --
> Juan Lanus
> TECNOSOL
> Argentina

-- 
     Irène.
-----
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 Thursday, 17 March 2005 08:10:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC