nl2br
Inserts HTML line breaks before all newlines in a string
Newlines are NOT deleted
[...] = optional ... = your value
[var $... = ]call nl2br $val=...
Example code
Example output
ReloadInput
foo
bar
foo
bar
Output
foo<br />
bar<br />
foo<br />
bar