I have used nl2br on a string. It returns in the code, for example:
This is some text...
<br>
<br>
... and this too.
I would like to change it so it looks like:
This is some text...
<BR><BR>
... and this too.
How can I do this? I've tried with str_replace. Maybe I've done wrong. Maybe I should use another function.