LJ::html_newlines — Replace newlines with HTML break tags.
LJ::html_newlines(text);
LJ::html_newlines(
)
text.
cgi-bin/ljtextutil.pl
text, possibly including HTML break tags.