When I put a link into chat that has a space at the end of the link text, the chat window briefly shows the link as expected and then a second or two later changes to show the markdown.
Below are my two test strings. Notice that both have a space after
The message is posted and looks like this:
A second later, the message changes to display this instead:
The link to this message can be found here