Inserts HTML line breaks before all newlines in a string Newlines are NOT deleted
[...] = optional ... = your value
[var $... = ]call nl2br $val=...
Show as text
Reload
Input
foo
bar
foo
bar

Output
foo<br />
bar<br />
foo<br />
bar