bug: links are not rendered correctly in message content
Describe the bug
When sending multipe links in one message, they don't appear correctly in the message list.
To Reproduce
Steps to reproduce the behavior:
- Go to getstream chat demo page
- Paste the following message (containing links) --Message starts here-- copilot.com copilot.com/guide copilot.com/about --Message ends here--
- Notice that the routes do not appear as part of the link, they shows as they are plain text.
- One more thing, you will notice that if you copy the sent message you will get this output
[copilot.com](http://copilot.com/)
[copilot.com](http://copilot.com/)/guide // here the /guide should be between the parentheses.
[copilot.com](http://copilot.com/)/about // same here
Expected behavior
copilot.com copilot.com/guide copilot.com/about
Screenshots
Package version
- stream-chat-react: 11.22.0
- stream-chat-js: ^8.40.0
Desktop (please complete the following information):
- OS: Version 15.1 (24B83)
- Browser chrome
- Version 130.0.6723.117 (Official Build) (arm64)
@elhamzaouiaymen thank you for reporting this. The issue seems to be caused by the newline characters interacting with path forward slashes. We will take a look
@MartinCupela do you have an estimated time for when this issue will be resolved?
I believe it could be solved this quarter
@MartinCupela Any updates on this?
@MartinCupela please keep me posted
:tada: This issue has been resolved in version 13.2.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket: