Update new line replacer to make all lines a span.

By switching from replacing \n-><br> to \n-></span><br><span>.
We can be sure that the output will retain it's space formatting and not get arbitrary spacing issues.