Fluid f:render with argument "contentAs" does not work as expected
Fluid f:render with argument "contentAs" does not work as expected, as the documentation implies a delegation of the rendered content is always possible to use pre-rendered content in the given variable to output the contents using variable.
But this seems to be broken, as the variable is only set by using another rendering call or a delegate-class. There is no implicit call to VariableContainer setting the variable without these cases.
As known from other ViewHelpers a given "as" argument will return the content/result into that variable instead of implicit rendering.
would be to render a given wrapping HTML only in case the f:render will return a non-empty result.
Feature should be interesting for TYPO3 v9.5 upwards