string nl2br ( string $str )

Convert endline characters to proper <br/> HTML entities.

Result: