Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
Format.raw ViewHelper <f:format.raw>
Outputs an argument/value without any escaping. Is normally used to output an ObjectAccessor which should not be escaped, but output as-is.
PAY SPECIAL ATTENTION TO SECURITY HERE (especially Cross Site Scripting), as the output is NOT SANITIZED!
Examples
Child nodes
<f:format.raw>{string}</f:format.raw>
Output:
(Content of ``{string}`` without any conversion/escaping)
Value attribute
<f:format.raw value="{string}" />
Output:
(Content of ``{string}`` without any conversion/escaping)
Inline notation
{string -> f:format.raw()}
Output:
(Content of ``{string}`` without any conversion/escaping)
Source code
Go to the source code of this ViewHelper: RawViewHelper.php (GitHub).
Arguments
The following arguments are available for <f:
:
value
-
- Type
- mixed
The value to output