element-hq / element-hq/element-android

URLs ending in hyphens do not include the hyphen in hyperlink

Open
#9,038 2 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

Unusual URLs like `https://kottke.org/25/05/0046833-boredom-the-great-engine-` don't hyperlink the ending hyphen, thus breaking the link for users. Seen this a few times recently and only just realized it is a quirk of Element and not broken websites.

### Outcome

The full URL to be hyperlinked.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

_No response_

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.