Hi Peter,
I've tried it like this but still doesn't work :(
Its frustrating as it works for text entered via a form even if I copy text
from the file I am importing into the form.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<cfif isdefined("attributes.inputstring")>
<cfoutput>
<CFSET BRTAG="#Chr(10)#">
<CFSET PTAG="#Chr(10)##Chr(10)#">
<cfset outputstring = attributes.inputstring>
<cfset outputstring = Replace(outputstring,#PTAG#, "<hr>", "ALL")>
<CFSET outputstring = Replace(outputstring,#BRTAG#, "<hr>", "ALL")>
</cfoutput>
<cfelse>
<b>No String Defined!!</b>
</cfif>
<cfset caller.outputstring = outputstring>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jonathan Trow
Circle.com
100 Victoria St
Bristol
BS1 6HE
Ph : 0117 9146266
Mob : 07989 502915
ICQ : 71524192
-----Original Message-----
From: Peter Ivanick [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2000 16:04
To: [EMAIL PROTECTED]
Subject: Re: Text formatting problem
Hi Jonathan -
> This is the custom tag I am using... Is this similar to what you were
using?
Pretty close, I used variables so I could change them at will, add
others, etc. -
+++
<!--- BRCRLF represents a single carriage return, PCRLF represents 2 of
them --->
<CFSET BRTAG="#Chr(10)#">
<CFSET PTAG="#Chr(10)##Chr(10)#">
<!--- Only process if this is the end execution mode --->
<CFIF thisTag.ExecutionMode is "END">
<CFSET ThisTag.GeneratedContent = Replace(ThisTag.GeneratedContent,
#PTAG#, "<P>", "ALL")>
<CFSET ThisTag.GeneratedContent = Replace(ThisTag.GeneratedContent,
#BRTAG#, "<BR>", "ALL")>
</cfif>
+++
--
Peter Ivanick
Web Developer
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306 Fax: 215.573.8777
http://www.vet.upenn.edu/
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.