Ask a Question related to Macromedia ColdFusion, Design and Development.
-
gobbawee #1
ignoring HTML with a replaceNoCase
I've got a text area that people can submit text and HTML into. I need to
replace all the line breaks with a <br> in order to format it correctly.
I was using:
<cfset subjectdatatouse = replaceNoCase(SubjectInfo.subjectdata,
"#Chr(13)##Chr(10)#", "<br>", "ALL")>
but it will cause an error with something like this:
<img
src="xyz.gif">
It would end up puting a <br> in the middle of the img tag. Is there a way to
have it ignore the replace if "#Chr(13)##Chr(10)#" exists within an HTML tag?
Thanks.
gobbawee Guest
-
NumberValidator ignoring maxValue with decimalSeparator
Hi.. I have a mx:NumberValidator : domain="real",minValue="0",maxValue="100",decimalSeparator="," If I enter 101 then it validate()s to INVALID... -
Ignoring XXX in a list ?
I have a script that loops through a text file that a user has uploaded. The script takes a look at the 1st, 2nd & 4th rows of data and pulls data... -
IIS on NT 4.0 is ignoring the session variables in the gloabl.asa
Any body have an idea's. I have only seen this occur when the global.asa is not in the root of the virtual directory. this does not appear to be... -
ignoring breakpoint in perl debugger
, who wrote in article <3f1e5480.0308180647.2200b27@posting.google.com>: Programmatically. `A'ctions have a possibility to control the debugger... -
postfix: ignoring certain uids?
Can postfix be configured to ignore certain uids (e.g. 1 through 999) for incoming mail or sent such mail directly to postmaster? I would like to... -
A3gis #2
Re: ignoring HTML with a replaceNoCase
Hi,
Your error must be caused by something else, that <cfset> is formated fine -
identical to ones we've done that in for years. you can try just using
#chr(13)# in the pattern though.. that may resolve your problem.
Cheers,
Aegis
A3gis Guest



Reply With Quote

