nl2br

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

Html
nl2br
(
string text
)

Meta