LJ::html_newlines

LJ::html_newlines — Replace newlines with HTML break tags.

Use

LJ::html_newlines(text);

Arguments

  • text. 

Source:

cgi-bin/ljtextutil.pl

Returns:

text, possibly including HTML break tags.