Not a bug. Just normal CF creation of white space. Simlpy add output="false" to your cffunction. Problem solved.
On 10/26/05, Peter Coppinger <[EMAIL PROTECTED]> wrote: > When a function is called and the result outputted directly, > an extra space is prepended! > > For Example: > ---------------------------------------------------- > <cffunction name="spaceTest"> > <cfargument name="s" type="string"> > <cfreturn "<-SPACE HERE"> > </cffunction> > > <cfoutput><pre> > > What is the space doing at the start of this string: "#spaceTest()#". > > It works the way it should assigned to a variable first: > <cfset o = spaceTest()> > No space here -> "#o#" > > </pre></cfoutput> > ---------------------------------------------------- > > Tested in ColdFusion 6.1 and ColdFusion 7. > In CF7 its worse, a carriage return and a space are inserted. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222338 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

