.. This reStructured text file has been automatically generated, do not change. .. Source: https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/Format/Nl2brViewHelper.php :edit-on-github-link: https://github.com/TYPO3/Fluid/edit/tree/main/src/ViewHelpers/Format/Nl2brViewHelper.php :navigation-title: format.nl2br .. include:: /Includes.rst.txt .. _typo3fluid-fluid-format-nl2br: ========================================== Format.nl2br ViewHelper `` ========================================== 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 ``
`` .. _typo3fluid-fluid-format-nl2br_source: Source code =========== Go to the source code of this ViewHelper: `Nl2brViewHelper.php (GitHub) `__. .. _typo3fluid-fluid-format-nl2br_arguments: Arguments ========= The following arguments are available for ``: .. contents:: :local: .. _typo3fluid-fluid-format-nl2br-value_argument: value ----- .. confval:: value :name: typo3fluid-fluid-format-nl2br-value :type: string :required: false String to format