element-hq / element-hq/element-android

link text is sometimes not wrapped correctly like on riot android

Open
#1,639 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

on some messages, containing a link using markdown (`[link text](https://example.net/)`), the link text is moved to the next line instead of wrapping nicely like the rest of the text. this leaves much empty space at the end of the previous line, like this:

hello, this is a
[test](https://example.net/). it should wrap nicely.

instead of:

hello, this is a [test](https://example.net/). it should wrap nicely.

it works correctly on riot android. only riotx is affected.

the strange thing is that it seems to happen randomly. i can see this currently on some older messages, but when inputting exactly the same text, i cannot reproduce it. so it seems that it depends on multiple factors.

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.