Quote:
cultiv8r, does the cfcontent tag really remove all the extra whitespace? When I used to use cold fusion, that was one thing that really annoyed me. I think when CF5 came out they finally added an option to eliminate the whitespace but I switched to ASP before I ever had a chance to try it.
|
The problem of leading spaces still exists in CF5, but using the CFCONTENT you can indeed fix that problem now. Just use it like this:
<CFCONTENT type="text/html" reset="YES">
That's why CF version GWebCache needs that tag enabled, otherwise clients that do not expect a leading space will assume there was an error. If the tag is disabled for security issues, there are some other workarounds for that problem but are not elegant. Wish Allaire/Macromedia put in some efforts in fixing that issue, it's been around for quite a while now. Haven't had the chance to try CF MX yet...
-- Mike