f:format.htmlentities

Escapes special characters with their escaped counterparts as needed using PHPs htmlentities() function. http://www.php.net/manual/en/function.htmlentities.php

Properties

value

Variable type
String
Description
String to format.
Default value
NULL
Mandatory
No

keepQuotes

Variable type
Boolean
Description
If TRUE, single and double quotes won't be replaced (sets ENT_NOQUOTES flag).
Default value
FALSE
Mandatory
No

encoding

Variable type
String
Description
Generally TYPO3 uses the UTF-8 charset. But if you need an other charset for a special case, you can enter it here.
Default value
NULL
Mandatory
No

doubleEncode

Variable type
Boolean
Description
If FALSE existing html entities won't be encoded, the default is to convert everything.
Default value
TRUE
Mandatory
No

Beispiel

<f:format.htmlentities>Müller & Breuer</f:format.htmlentities>
M&uuml;ller &amp; Breuer