Covert "\n " to "br" so that newlines are displayed correctly to users.
Fix display line breaks test
Merge pull request #583 from Tahi-project/display_new_lines

Covert "\n " to "br" so that newlines are displayed correctly to users.