When submitting a new share, newlines are stored as is and reproduced as is in HTML - which means they aren't shown to the user.
When sending a message via the chat interface, client side is rendering is correct (in both the sender and the receiver browsers), but when reloading, the HTML is formatted incorrectly on the server side.
Multi-line issues are not generated correctly in the server-side code.
To reproduce, write a message with multiple lines in a conversation and reload the page.