it is escaping them. the fact that you see them in the browser means they've been escaped. view the source and you'll see.
if you have this: <cfset myString = "<hello>foo" /> and you do a <cfoutput>#myString#</cfoutput>, all you'll see is "foo", because the braces around "hello" were not escaped and the browser will try to render a <hello> tag (which it doesn't know, so it ignores it). If you wrap the string in an HTMLEditFormat(), it will escape the < and >, and you'll see <hello> in the browser, but viewing source will show <hello> On Wed, Aug 27, 2008 at 10:01 AM, D T <[EMAIL PROTECTED]> wrote: > Hello. > > Does this work for anybody? I'm don't get anything escaped when I try > this. It just returns the string as is. > > <cfset str = "hello world & <>" /> > > <cfset strEscaped = HTMLEditFormat( str ) /> > > <cfoutput>#strEscaped#</cfoutput> > > I understand that its main purpose is to do this > <cfoutput>#HTMLEditFormat(strEscaped)#</cfoutput> > > But thats not what I'm trying to achieve. > > Thanks. > > Damien > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

