element-hq / element-hq/element-x-android
No Line Break when using `<h2>` or header tags
- Dominant language
- Kotlin
- Stars
- 2.4k
- Forks
- 624
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 149
Description
### Steps to reproduce
1. Send a message with `
or
` html tags
2. View the said message on Element X for Android app
3. Presented wtih this layout

### Outcome
#### What did you expect?
Line break is rendered like other clients
Element Desktop:

Element X for iOS

#### What happened instead?
No line breaks rendered as per screenshot above
#### Event source
```json
{
"type": "m.room.message",
"sender": "@miniflux:matrix.domain.com",
"content": {
"msgtype": "m.text",
"format": "org.matrix.custom.html",
"body": "Writers and publishers in Singapore reject a government plan to train AI on their work | Singapore's literary community is pushing back against an official effort to train LLMs using their published works, part of a growing global resistance.submitted by /u/Maxie445 [link] [comments] newest submissions : technology - 11:02 AM | 2024-05-17",
"formatted_body": "
Writers and publishers in Singapore reject a government plan to train AI on their work | Singapore's literary community is pushing back against an official effort to train LLMs using their published works, part of a growing global resistance.
submitted by /u/Maxie445 [link] [comments]},
"origin_server_ts": 1715915966989,
"unsigned": {
"age": 31024442
},
"event_id": "$R-kNvACfz_21HrMFOGuSKSxI7nxVhg926kNQqFHoJgA",
"room_id": "!YbRnSlgHyZfmuunCYC:matrix.domain.com"
}
```
### Your phone model
_No response_
### Operating system version
Android 13
### Application version and app store
Element X Version 0.4.12 (40004120)
### Homeserver
Synapse 1.107.0
### Will you send logs?
No
### Are you willing to provide a PR?
No
Contributor guide
Assessment
This issue has not been assessed yet.