nl2br

Given user text, converts newlines to <br> and encodes the rest.

nl2br
(
string text
)
Suggestion Box / Bug Report