Differences between Lucee and ACF for spaces between 2 tags

ACF seems to replace space characters and new lines between 2 tags with a unique space. Lucee outputs at least the new lines.

  • A very short test file is (it is used as t1/t1.cfm below):
<pre>
    <cfoutput>1</cfoutput>
    <cfoutput>2</cfoutput>
</pre>
  • In Lucee, the output in a browser is:
    1
    2
  • In Lucee, the output of curl http://localhost:8888/t1/t1.cfm or the source code in the browser is:
<pre>
    1
    2
</pre>
  • In Adobe Coldfusion 11, the output in a browser is:
    1 2
  • In ACF, the output of curl http://localhost:8080/t1/t1.cfm or the source code in the browser is:
<pre>
    1 2
</pre>
  • I have the same results with other tags.

  • I have tested the different space output settings, but was not able to mimic the ACF behaviour.

  • I have tested this with a Lucee Docker container and used the following URL in a browser : http://localhost:8888/t1/t1.cfm

docker run --name lucee --rm -it --publish 8888:8888 --volume `pwd`/t1:/var/www/t1 lucee/lucee:5.3.8.206-nginx-tomcat9.0-jdk11-openjdk
  • I have tested this with a Commandbox Coldfusion Docker container and used the following URL in a browser : http://localhost:8080/t1/t1.cfm
docker run --name acf -it --rm --publish 8080:8080 --volume `pwd`/t1:/app/t1 --env cfconfig_adminPassword=admin123 --env CFENGINE=adobe@11 ortussolutions/commandbox:adobe11-alpine

Have I missed a configuration somewhere in Lucee ?
This fired at least a bug in a Coldfusion application, and it will be difficult to find similar problems elsewhere: an output similar to ACF would be a plus.

Best regards,
Marc