[Zope] Parse Text File (newbie q.)

Marcel Preda marcel@punto.it
Wed, 14 Jun 2000 18:35:26 +0200


----- Original Message ----- 
From: joel grimes <joelgrimes@hotmail.com>
Sent: Wednesday, June 14, 2000 5:39 PM
Subject: [Zope] Parse Text File (newbie q.)


> I'm trying to display the contents of a text file in a DTML document.  It's 
> easy enough to display but all the line breaks are removed.  Is there an 
> easy way to bring in formatted text?
 

Maybe you want something like:

<dtml-var " _.string.replace(text,'\n','<BR>')">


PM