A developer debugging a ColdFusion custom tag DSL (CFMailML) discovered that Adobe ColdFusion's built-in 'Whitespace Management' feature was stripping newline characters between custom tags, causing unexpected output. Four test trials revealed that tags on separate lines without CFOutput had all whitespace removed, while other configurations replaced newlines with spaces. The fix was disabling the 'Enable Whitespace Management' setting in the ColdFusion admin by setting the ENV variable `cfconfig_whitespaceManagement=false` in a CommandBox Dockerfile. The author notes this appears to be a compile-time issue, meaning CFProcessingDirective and Application.cfc settings had no effect.
Sort: