stephancill / opencast

A fully open source, self-hostable Twitter flavoured Farcaster client
MIT License
187 stars 37 forks source link

bug: Links followed by a period break. #21

Open MicahZoltu opened 9 months ago

MicahZoltu commented 9 months ago

If a cast includes a URL immediately followed by a period, the period gets interpreted as part of the URL and the URL then no longer works.

While technically a URL can end in a period, I think it is uncommon enough that it should not be included if it is the last character. Same for other punctuation like ?, ), ;, :, etc.

It is worth noting that Warpcast correctly leaves the period off of the link.

MicahZoltu commented 9 months ago

Example cast: https://opencast.stephancill.co.za/tweet/e01912408f200c30f9309bc2a40b01ddb42c4dd1