.. include:: /Includes.rst.txt
.. _typo3-fluid-format-nl2br:
============
format.nl2br
============
Wrapper for PHPs :php:`nl2br` function.
See https://www.php.net/manual/function.nl2br.php.
Examples
========
Default
-------
::
{text_with_linebreaks}
Text with line breaks replaced by ``
``
Inline notation
---------------
::
{text_with_linebreaks -> f:format.nl2br()}
Text with line breaks replaced by ``
``
Arguments
=========
.. _format.nl2br_value:
value
-----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
String to format