replace '\n' to <br> in chat message