Look at the XmlFormat/XmlParse/ToString functions for converting from and to 
entities.

> Thanks everyone.  I used cfset as an example, but it's actualy going 
> through an admin tool.  It's being store in the database as ...
> 
> Click here to download your free couopn. <a href=""http://www.site.
> com"">http://www.site.com</a>
> 
> it's coming out on the web page as ...
> 
> Click here to download your free coupon.  &amp;lt;a 
> href=&amp;quot;test&amp;quot;&amp;gt;test&amp;lt;/a&amp;gt;
> 
> ?
> 
> Thanks.
> 
> >Use single quotes for one of them... or escape the " quote. 
> >
> ><CFSET var123 = "Click here to download your free coupon. <a
> >href=""http://www.site.com"";>http://www.site.com</a>">
> >
> >Or
> >
> ><CFSET var123 = "Click here to download your free coupon. <a
> >href='http://www.site.com'>http://www.site.com</a>">
> >
> >Or 
> >
> ><CFSET var123 = 'Click here to download your free coupon. <a
> >href='http://www.site.com'>http://www.site.com</a>'>
> >
> >Or 
> >
> ><cfsavecontent variable="var123">
> >Click here to download your free coupon. <a
> >href="http://www.site.com";>http://www.site.com</a>
> ></cfsavecontent>
> >
> >Russ
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254277
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to