GetStream/stream-chat-angular

URL parsing errors

szuperaz opened this issue · 1 comments

The following URL formats are not parsed correctly:

  • google.com -> not clickable
  • www.google.com -> clickable, but navigates to the wrong URL

Some additional information:

  • google.com and www.google.com
    Channel message html property does not include an <a href..../> element while there is a URL.
    For example: <p> Some text message with a URL inside it, like google.com </p>
  • https://google.com
    Channel message html property does include an <a href..../> element while there is a URL.
    For example: <p> Some text message with a URL inside it, like <a href="https://google.com"/> </p>