I've added a screenshot. The text below was copied from another source as
"This is a test entry in the chat box
adding a carriage return"
but when it appears in the chat box entry it reformats as:
"This is a test entry in the chat box adding a carriage return" when pasted into chat.
When you add the carriage returns manually it adds a space at the beginning of line 2 as seen in the screenshot.
removing the extra space fixes the issue and then you can post it with the carriage return in the text or the spacing between lines.