If you want to output "<" in html you should always use &lt; otherwise you
are creating an opening tag if you use < which can cause all kinds of
problems.

Russ

> -----Original Message-----
> From: Aidan Whitehall [mailto:[EMAIL PROTECTED] 
> Sent: 07 February 2004 16:15
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Bug in output?
> 
> 
> > why not just do: <cfoutput>&lt;&nbsp;#oTest.getNumber()#</cfoutput>
> 
> Well, the missing space isn't critical for what I was doing 
> (the CFC was returning a value to some JS), so in this 
> instance, don't need a workaround, but thanks for the response anyway.
> 
> I was puzzled as to why CFMX was removing the space when the 
> expected behaviour would be that it shouldn't. For another 
> user where each character output is important (and not 
> necessarily it's on-screen representation), this issue may be 
> of significance.
> 
> 
> -- 
> Aidan Whitehall <mailto:[EMAIL PROTECTED]>
> Macromedia ColdFusion Developer
> Fairbanks Environmental Ltd  +44 (0)1695 51775
> Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>
> 
> Fairbanks uses anti-spam filtering. If you sent an e-mail and 
> expected to receive a response but didn't, please call -- it 
> may be that your e-mail didn't make it to the intended mailbox.
> 
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star 
> Internet. The service is powered by MessageLabs. For more 
> information on a proactive anti-virus service working around 
> the clock, around the globe, visit: http://www.star.net.uk 
> ______________________________________________________________
> __________
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to