Revision 2 - Original post on March 4, 2007 @ 12:53pm
[Download]
This is a simple solution to nl2br outputting
This function will change DOS, Unix, and Mac new lines (
<br />
.This function will change DOS, Unix, and Mac new lines (
\n
, \r
, and \r\n
) into <br>
.