format.htmlentitiesDecode

Applies html_entity_decode() to a value

Examples

default notation:

<f:format.htmlentitiesDecode>{text}</f:format.htmlentitiesDecode>

Output:

Text with &amp; &quot; &lt; &gt; replaced by unescaped entities (html_entity_decode applied).

inline notation:

{text -> f:format.htmlentitiesDecode(encoding: 'ISO-8859-1')}

Output:

Text with &amp; &quot; &lt; &gt; replaced by unescaped entities (html_entity_decode applied).

Arguments

value

DataType
string
Required
true
Description
String to format

keepQuotes

DataType
mixed
Required
true
Description
If TRUE, single and double quotes won’t be replaced (sets ENT_NOQUOTES flag).

encoding

DataType
string
Required
true

Description