$string
=
'This<br />
is<br />
a<br />
string<br />
'
#1
|
nl2br
|
("foo isn't\n bar")
|
#2
|
nl2br
|
("Welcome\r\nThis is my HTML document", |
#3
|
nl2br
|
("This\r\nis\n\ra\nstring\r")
|