element-hq / element-hq/element-android

list rendering is broken and inconsistent with web

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

Description

#### Describe the bug

Element does not interpret received markdown/html ordered lists at all.
(Element does by default not interpret md when sending.)
Replies are even weirder

#### To Reproduce
Steps to reproduce the behavior:
1. Receive an OL sent from desktop
2. Try replying

#### Expected behavior
Like desktop.

#### Screenshots

![image](https://user-images.githubusercontent.com/2803622/123639118-2cf8fb80-d820-11eb-98ee-86c68950d3be.png)

Upper 2 msgs are from android, lower 2 are from desktop, as seen from desktop.
Looks ok considering md was off on android, except the linebreak breaks in the reply sent from android. This is specifically weird since it is actually there?

```
"body": "> <@kim:hs> 1. One\n> 2. Two\n\n1. One\n2. Two",
"formatted_body": "

In reply to @kim:hs
1. One\n2. Two
1. One\n2. Two"
```

![image](https://user-images.githubusercontent.com/2803622/123639588-a42e8f80-d820-11eb-8946-32e6f60df33d.png)

Same as viewed from android.
The messages from android are shown as on desktop, but the reverse is even more broken.

![image](https://user-images.githubusercontent.com/2803622/123640028-0be4da80-d821-11eb-85dd-4652d0c9fa0f.png)

Formatted UL work: upper is without, lower is with md enabled.

#### Smartphone (please complete the following information):
- Device: moto g5s+
- OS: android 10

#### Additional context
- App version and store 1.1.9 F-Droid
- Homeserver: private

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.