Project

General

Profile

Actions

Bug #97835

closed

Allow invalid Fluid tags inside f:comment

Added by Maik Hagenbruch over 2 years ago. Updated 16 days ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2022-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently i update all <f:widget.paginate>

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

Actions #1

Updated by Simon Praetorius over 1 year ago

  • Subject changed from Comments in fluid templates could be better to Allow invalid Fluid tags inside f:comment
Actions #2

Updated by Georg Ringer 4 months ago

  • Status changed from New to Closed
Actions #3

Updated by Ayke Halder 16 days ago ยท Edited

# 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

Actions

Also available in: Atom PDF