Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
format.htmlentitiesDecode¶
Applies html_entity_decode()
to a value.
See https://www.php.net/html_entity_decode.
Examples¶
Default notation¶
<f:format.htmlentitiesDecode>{text}</f:format.htmlentitiesDecode>
Text containing the following escaped signs: &
"
'
<
>
, will be processed by html_entity_decode()
.
These will result in: &
"
'
<
>
.
Inline notation¶
{text -> f:format.htmlentitiesDecode(encoding: 'ISO-8859-1')}
Text containing the following escaped signs: &
"
'
<
>
, will be processed by html_entity_decode()
.
These will result in: &
"
'
<
>
.
But encoded as ISO-8859-1.