format.nl2br

Wrapper for PHPs nl2br function.

Examples

Example:

<f:format.nl2br>{text_with_linebreaks}</f:format.nl2br>

Output:

text with line breaks replaced by <br />

Inline notation:

{text_with_linebreaks -> f:format.nl2br()}

Output:

text with line breaks replaced by <br />

Arguments

value

DataType
string
Required
true
Description
String to format