I have a report which is enclosed in a cfsavecontent tag.
<cfsavecontent variable = "testcust">
When I use
<cfoutput> #testcust# </cfoutput>
the report renders correctly. When I use cffile to save it to disk I lose the css formatting:
<cffile action = "write"
file = "/var/www/reports/testcust.cfm"
output = "#testcust#">
I can run testcust.cfm and it produces the report. All in-line styling is preserved. But formatting from the style sheet is not there. Does anyone know how to fix this?