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 that use <! to comment-out
code in Fluid templates. A deprecation is written to the deprecation log since
TYPO3 13.4.21 if this 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 13, potential Fluid syntax errors are ignored by these ViewHelpers, which allows commenting-out of invalid Fluid syntax.