CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one <cfoutput> block gets executed between the <cfsetting> tags. The whole tag should produce only about 50 characters of output.
<cfsetting enablecfoutputonly="yes"> <cfinclude template="constants.cfm"> .... <cfscript> .... </cfscript> <cfif somecondition> <cfscript> ... </cfscript> <cfoutput><a href="...">...</a></cfoutput> <cfelse> <cfscript> ... </cfscript> <cfoutput><a href="...">...</a></cfoutput> </cfif> .... <cfsetting enablecfoutputonly="no"> But the tag is producing a _lot_ of white space, both before and after the executed <cfoutput> block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a <cfsilent> block, as it only sets some variables. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199698 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54