Package

ViewHelpers

ViewHelper Documentation

format.htmlentities

Applies htmlentities() escaping to a value

= Examples =

<f:format.htmlentities>{text}</f:format.htmlentities> Text with & " ' < > * replaced by HTML entities (htmlentities applied).

{text -> f:format.htmlentities(encoding: 'ISO-8859-1')} Text with & " ' < > * replaced by HTML entities (htmlentities applied).

Arguments

value string

string to format

keepQuotes boolean

if TRUE, single and double quotes won't be replaced (sets ENT_NOQUOTES flag)

encoding string

the encoding format

doubleEncode string

If FALSE existing html entities won't be encoded, the default is to convert everything.

ViewHelper Resources

Schema Resources