212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
Some people call me the space cowboy. Some people call me the gangster of
love.
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 6:02 PM
To: CF-Talk
Subject: Re: Supressing white space
You may want to try HTML Compress. It's freeware that removes white space
characters such as carriage returns, line feeds, spaces and tabs.
http://www.freesoft.fsnet.co.uk/html01.htm
By default, it works on HTML, PHP, and ASP, but its possible to extend the
application yourself to work with
I haven't read it all yet but Lucas Sherwood is blogging about this at
http://www.thebitbucket.net/weblog/index.cfm/coldfusion.
Joelle
Andy Matthews wrote:
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got 30
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got 30 plus lines between actual HTML elements. I
wondered if some of you could suggest methods of getting rid if that. In the
case of this particular page there's
I've used this with a reasonable degree of success. Is there a reason
for not using the obvious? I glanced at the URL and it appears to be
a CFM page, but I certainly may have missed something.
cfprocessingdirective suppresswhitespace=Yes
... your code ...
/cfprocessingdirective
On
www.bennadel.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 1:21 PM
To: CF-Talk
Subject: Supressing white space
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got
--//-
-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 4:23 PM
To: CF-Talk
Subject: Re: Supressing white space
I've used this with a reasonable degree of success. Is there a reason
for not using the obvious? I glanced at the URL and it appears
You can also comment out white space in your code...
cfloop !---
---#outputThis#br!---
---/cfloop
It isn't super pretty (better with code coloring), but works.
~|
Message:
There are also methods of getting the pageContext in the onRequestEnd
and cleaning the whitespace out there.
With all these tho, there can be unexpected consequences. I'd do the
output=false and enablewhitespacemanagement stuff, if possible.
:D
On 6/5/06, Rob Wilkerson [EMAIL PROTECTED] wrote:
9 matches
Mail list logo