.. include:: /Includes.rst.txt .. _typo3-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 ``
`` .. _typo3-fluid-format-nl2br_arguments: Arguments ========= .. _format.nl2br_value: value ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` String to format