Skip to content
This repository was archived by the owner on Sep 30, 2018. It is now read-only.
This repository was archived by the owner on Sep 30, 2018. It is now read-only.

Bug: URLs sent in chat messages sometimes don't work properly #52

@hyph3n

Description

@hyph3n

I have contacts on Toxy who will sometimes send chat messages including URLs. If the user doesn't include a space between the last thing they typed and the URL, the previous word gets highlighted as part of the URL.

For example, if I typed the following message: "Hey, check this out:www.google.com", the underlined URL would be "out:www.google.com". Clicking on this obviously doesn't work because the browser can't interpret the "out:" portion.

Furthermore, using shift+enter (without including a space) and pasting the URL results in the same behavior:

Hey, check this out:
www.google.com

This still results in the URL appearing as:

Hey, check this "out:
www.google.com"

(Quotes used to show what is included in the clickable URL).

Can this behavior be changed so that only the appropriate URL characters are underlined?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions