Breaking: #108148 - CDATA sections in Fluid templates no longer removed
See forge#108148
Description
Previous versions of Fluid and TYPO3 removed code wrapped in <!
from template files altogether. This meant that it was possible to use CDATA
to comment out template code. This is no longer possible, since CDATA
sections are now interpreted by Fluid in a different way; see
Feature: #108148 - Alternative Fluid Syntax for CDATA Sections.
Impact
<! can no longer be used to comment out code in Fluid template
files.
Affected installations
Installations that contain Fluid templates using <! to comment
out code are affected. A deprecation has been written to the deprecation log
since TYPO3 13.4.21 if this construct is encountered in a Fluid template
during rendering.
Migration
To comment out code in Fluid templates, the Comment ViewHelper <f:comment> should be used. Since TYPO3 v13, potential Fluid syntax errors are ignored by this ViewHelper, which allows commenting out invalid Fluid syntax safely.