Not shown is the \n newline sign.
You can replace these with whatever you want.
There is a function in PHP for this and it's called
nl2br() or newline_to_br()
It replaces
\n
with <br>
That function is smarter than trying to do it yourself because you don't want to build exceptions for UNIX \r and Win32 \n.
Give it a try.
PS.
When people push
the Enter button twice (a paragraph shift) then that will be replaced with
<br>
<br>
by the above mentioned function.
PS2. I don't know the difference between nl2br() and newline_to_br().