Try: <CFSET HTMLBody = replace(Body, tmpCRLF,"#tmpCRLF#<br>","ALL")>
On Wed, 11 Sep 2002, Erik Britt-Webb wrote: > I'm trying to take plain text from a database or text file and display it on > a web page. Problem is that the CRLF characters don't work in HTML. So, I > tried converting them using: > > <CFSet tmpCRLF = Chr(13)&Chr(10)> > <CFSet HTMLBody = #Replace(Body,tmpCRLF,tmpCRLF&"<BR>")#> > > > But that doesn't work. I still get the same run-on paragraph. > > Any suggestions how I do this? I'm sure it's easy. > > Thanks, > > Erik > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

