RE: cfsavecontent and whitespace

2010-01-22 Thread Eric Nicholas Sweeney
Awesome - I just so happen to need that as well! Thanks! -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Friday, January 22, 2010 5:04 PM To: cf-talk Subject: Re: cfsavecontent and whitespace I have this function to strip out carriage returns and tabs

Re: cfsavecontent and whitespace

2010-01-22 Thread Gerald Guido
o this has helped > me: > > > > > > #replace(myvar,"\r\n","","all")# > > -- Josh > > > -Original Message- > From: Jake Churchill [mailto:reyna...@gmail.com] > Sent: Friday, January 22, 2010 1:08 PM > To: cf-talk &g

Re: cfsavecontent and whitespace

2010-01-22 Thread Jake Churchill
Yes, output is turned off on both the CFC and the individual method. I ended up using a method like this: http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=812 Hope it doesn't affect performance too much. -Jake On Fri, Jan 22, 2010 at 3:13 PM, Justin Scott wrote: > > > I'm just wonderin

RE: cfsavecontent and whitespace

2010-01-22 Thread Josh Nathanson
The white space seems to be caused by carriage returns, so this has helped me: #replace(myvar,"\r\n","","all")# -- Josh -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Friday, January 22, 2010 1:08 PM To: cf-talk Subject

RE: cfsavecontent and whitespace

2010-01-22 Thread Justin Scott
> I'm just wondering if anyone has come up with a solution > for the extreme whitespace added by cfsavecontent. Is output="no" set on the CFC method? -Justin ~| Want to reach the ColdFusion community with something they want

cfsavecontent and whitespace

2010-01-22 Thread Jake Churchill
I'm just wondering if anyone has come up with a solution for the extreme whitespace added by cfsavecontent. Scenario: I have a CFC which builds pieces of content for an email. The content is pieced together via a complex series of loops, and other CFC calls. I've tried every combination of cfs