element-hq / element-hq/element-x-android

Message Paragraphs wrongly rendered

Open
#4,920 0 comments 1 reaction 1 assignee Claimed by @jmartinesp View on GitHub
A-Event Rendering O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Open a message composer in Element X Android
2. Add a line of text
3. Add an empty line
4. Add another line of text
5. Add another line of text

### Outcome

#### What did you expect?
I expected the message to be rendered just as it looked like in the message composer.

#### What happened instead?
The rendered text message seems to have a random new empty line added as well as the last line of text having a random whitespace added at its beginning.

![Image](https://github.com/user-attachments/assets/55c14590-d9ac-4e7f-b74a-7f9eca794a7d)

### Your phone model

Google Pixel 8a

### Operating system version

LineageOS 22.2

### Application version and app store

Element X 25.06.02

### Homeserver

fairydust.space

### 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.