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>
Copied!
Output:
(Content of ``{string}`` without any conversion/escaping)
Copied!
Value attribute¶
<f:format.raw value="{string}" />
Copied!
Output:
(Content of ``{string}`` without any conversion/escaping)
Copied!
Inline notation¶
{string -> f:format.raw()}
Copied!
Output:
(Content of ``{string}`` without any conversion/escaping)
Copied!
Arguments¶
value¶
- DataType
- mixed
- Required
- false
- Description
- The value to output