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

Doesn't render paragraphs from newline gaps

Open
#3,001 6 comments 3 reactions 0 assignees View on GitHub
A-Composer A-Event Rendering O-Uncommon S-Tolerable T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Enter a message with multiple paragraphs separated by blank lines
2. Send the message
3. Notice how all the text is collapsed into a single paragraph

![Screenshot_20240610-083258](https://github.com/element-hq/element-x-android/assets/1137962/b3c199f6-6619-4e3c-a27f-c4d2762e3895)
![Screenshot_20240610-083300](https://github.com/element-hq/element-x-android/assets/1137962/73b3f7e9-1e08-43b6-88bd-659f9b3dfb94)

### Outcome

#### What did you expect?

Multiple paragraphs.

#### What happened instead?

A single paragraph.

### Your phone model

Pixel 6

### Operating system version

14

### Application version and app store

0.4.13

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

Yes

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.