Issue Bug Closed

#97835Allow invalid Fluid tags inside f:comment

Maik Hagenbruch 06/30/22, 09:20 updated 11/05/24, 11:13

Description

Currently i update all <f:widget></f:widget>

if i wrap this widget with f:comment the f:widget.paginate still throws an error.
I now i have to remove this widget, but for testing i want wrap this in a comment to write the new code.

i think fluid should ignore code which is wrapped with comments

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Simon Praetorius changed subject Comments in fluid templates could be better Allow invalid Fluid tags inside f:comment <span data-processor="relativetime" data-value="2023-06-16T10:30:48+00:00" > 06/16/23, 10:30 </span>

  2. Ayke Halder commented <span data-processor="relativetime" data-value="2024-11-05T11:13:16+00:00" > 11/05/24, 11:13 </span>

    # Before:
    <f:comment><!-- <f:some.invalid.syntax /> --></f:comment>
    
    # Now this will work:
    <f:comment><f:some.invalid.syntax /></f:comment>

    This looks like it is fixed with: “[FEATURE] Fluid code in comments no longer interpreted” https://github.com/TYPO3/Fluid/pull/956