I've not seen where that tag helps me, either.

I prefer to do a few other things.

<cfsetting enablecfoutputonly="yes">

<cfsilent> (I don't use this much.)

And, before the first HTML tag, I reset the stream:

<cfcontent type="text/html" reset="yes">

The cfcontent tag will wipe any previous displayable chars from the
stream at the point it is used.

M!ke

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 11:01 AM
To: CF-Talk
Subject: Remove white space

I've got a file on which I'm working. When viewing source I have lots of
extra carriage returns and spaces from comment tags, where code used to
be, etc. Google gave me this page:
http://www.cfmcentral.com/tips/gettip.cfm?id=14

which tells me to configure my code as follows:
<CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE="Yes"> .... any CFML tags here
....
</CFPROCESSINGDIRECTIVE>

So I've tried that, viewed source on the changed file and it looks
exactly the same. I'm running CFMX6.1 on my windows test machine. Does
anyone have any ideas or alternate code which I might try?

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230333
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

Reply via email to