The white space seems to be caused by carriage returns, so this has helped me:
<cfsavecontent variable="myvar"> <!--- blah blah ---> </cfsavecontent> <cfoutput>#replace(myvar,"\r\n","","all")#</cfoutput> -- Josh -----Original Message----- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Friday, January 22, 2010 1:08 PM To: cf-talk Subject: cfsavecontent and whitespace 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 cfsilent, cfsetting enablecfoutputonly="true" and cfprocessingdirective suppresswhitespace="true" that I can think of and nothing seems to work. The "Enable Whitespace Management" option in the administrator DOES work, but I don't want to turn that on because of the potential performance hit. Does anyone have any kind of suggestion for avoiding so much whitespace? -Jake ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330053 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4