Bug #75299
closedBehaviour of escapeChildren for self closing ViewHelpers
0%
Description
Hi,
in an Extension i have the problem that the whole content is escaped. As mentioned in the release notes of 8.0 the property escapeChildren could be changed if needed. But for me when is change this in the first view helper in the template that is self closing it effects als nodes, so it seems that "escapeChildren" also effects nodes after self closing node.
Is this intended or a bug?
<ext:viewhelper />
<ext:nextviewhelper></ext:nextviewhelper>
In this case escapeChildren would also be set in the scope of ext:nextviewhelper
Updated by Claus Due over 8 years ago
Please report on https://github.com/TYPO3Fluid/Fluid and reference this issue so we can investigate. I suspect the escaping isn't reset when there is no closing tag because the resetting only happens when processing closing tags and should also happen when detecting a self-closing tag.
You may be able to work around the issue for now by switching to inline syntax instead of tags.
Updated by Helmut Hummel over 8 years ago
- Status changed from New to Needs Feedback
There is an esacapeChildren and an escapeOutput property.
Which one of those did you set to false?
From what class do you exactly inherit?
How exactly does your template code look like?
Can you provide the code for the view helpers to reproduce?
Updated by Benni Mack over 8 years ago
Can you recheck in master? Should be fixed with master and fluid standalone 1.0.7
Updated by Claus Due over 8 years ago
Fixed in Fluid 1.0.7 via https://github.com/TYPO3Fluid/Fluid/commit/70314b168d14fc38315e554b82238dd966744377 (with apologies for the commit message, that particular PR was merged a bit outside our normal rules and something went wrong)
Updated by Claus Due over 8 years ago
- Status changed from Needs Feedback to Resolved