Not quite sure what you are trying to accomplish, but I'll give it a whack.
Are you saying that any CR that happens right after a tag should not
happen, then:
!--- replace all tag/newlines with just tags ---
cfset newString=rereplace(str,[#chr(10)##chr(13)#]+,,ALL)
!--- remove all tags ---
cfset
My desired output didn't show up quite right. Anyway, I'm not trying to get rid
of CR's after tags.
Basically, this text has already been wrapped at some length (65 chars). The
problem is it was wrapped text was wrapped while taking into account the HTML.
I'm trying to unwrap the text, then
This might help solve your problem:
http://www.cflib.org/udf.cfm?ID=249
M!ke
-Original Message-
From: Cedric Villat [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 7:23 PM
To: CF-Talk
Subject: Re: Strip HTML and display
My desired output didn't show up quite right. Anyway
3 matches
Mail list logo