I want to see if we can control white space management changed via code so that I can set it when app initializes.
In case cfprocessingdirective with attribute suppressWhiteSpace is not theway you want to go, you can take a look at the source of lucees web administrator at
They make use of cfadmin to set it up. I’m not at my working machine to do a quick try. But that might be a hint for you.
Good new year’s eve!
Just did a check on cfadmin docs, and lucee supports that out of the box. Take a look at:
And thanks to @Zackster, because as far as I am aware, he is the one who mostly keeps the lucee docs alive.
4 Likes
Here is how you can set suppressWSBeforeArg, not sure if that helps.
<cfadmin
action="updateCompilerSettings"
DotNotationUpperCase="false"
externalizeStringGTE="-1"
handleUnquotedAttrValueAsString="true"
nullSupport="true"
suppressWSBeforeArg="true"
templateCharset="UTF-8"
type="web"
password="**********" />
OS : AWS Linux
Java Version : 11.0.7 (AdoptOpenJDK) 64bit
Tomcat Version : Apache Tomcat/9.0.35
Lucee Version : Lucee 5.3.6.61
1 Like