:navigation-title: format.htmlentitiesDecode
.. include:: /Includes.rst.txt
.. _typo3-fluid-format-htmlentitiesdecode:
====================================================================
Format.htmlentitiesDecode ViewHelper ``
====================================================================
.. typo3:viewhelper:: format.htmlentitiesDecode
:source: ../../Global.json
:display: tags,description,gitHubLink,arguments
.. _typo3-fluid-format-htmlentitiesdecode-example:
Examples
========
Default notation
----------------
::
{text}
Text containing the following escaped signs: ``&`` ``"`` ``'`` ``<`` ``>``, will be processed by :php:`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 :php:`html_entity_decode()`.
These will result in: ``&`` ``"`` ``'`` ``<`` ``>``.
But encoded as ISO-8859-1.