element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Periods following a hyperlink are parsed as part of the link, mangling the URL

Open sorenstoutner opened this issue 2 years ago • 0 comments

Steps to reproduce

URLs in posts are converted to hyperlinks. However, if the link is immediately followed by a period, without an intervening space, it is parsed as part of the link, which mangles the URL. This happen, for example, if the link is part of a sentence that ends with a period.

Outcome

On Element for iOS and Element for Desktop (Windows) the hyperlinks are parsed without the period. It would make sense for Element for Android to follow the same behavior.

Your phone model

Pixel 5

Operating system version

Android 12L

Application version and app store

F-Droid 1.4.25 [40104250] (F-1f34d368)

Homeserver

Debian Matrix-Synapse 1.61.1-1

Will you send logs?

No

Are you willing to provide a PR?

No

sorenstoutner avatar Aug 03 '22 04:08 sorenstoutner