element-hq / element-hq/element-android

different text depending on the client (because of rendering markdown)

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

Description

i have no idea in what format the messages get transmitted and where they are rendered... so forgive me, if i make wrong assumptions, but the core of the issue stays valid anyway!

**Describe the bug** & **To Reproduce**
*beforehand: at element-web there seems to be no setting to en-/disable markdown (but it works seemingly flawless), so i assume it is always on.*
- in a room some people where chatting about a day for the next meeting and one of them wrote `18. is perfecly fine for me too.` (i guess via element-android). so far so good...
- now even as a recipient, if i look at the message at element-web i see `18. [...]` but `1. [...]` at element-android!
- en-/disabling markdown afterwards neither at the senders nor at the recipients element-android changes anything.
- so bottom line: **everyone has different messages, depending on which client he looks!** :exploding_head:
- and no, this isn't solved by disabling markdown at element-android!
because if i send exact the same text via element-web to a element-android device, even with markdown disabled (which would have been baloney anyway - how should i know when to disable markdown?), also different messages are displayed!
- and on top of that, there is another one:
in the preview at element-android the correct `18. [...]` is displayed, but as soon as i open the room there is the wrong `1. [...]`, also independent from en-/disabling markdown.

**Expected behavior**
1. all (at least element) clients should display the same text!
2. and especially element-android should display the same text at the preview and the conversation.

**Screenshots**
element-web:
![element-web](https://user-images.githubusercontent.com/26110463/92726248-99783c00-f36d-11ea-8591-29f5125ca914.png)

element-android:
![element-android](https://user-images.githubusercontent.com/26110463/92726274-a2690d80-f36d-11ea-9d63-9bcf36a256be.png)

**Smartphone:**
- Device: any
- OS: any Android (don't know about element-ios)

**Additional context**
- App version and store: 1.0.5 - playstore
- Homeserver: matrix.org

i know this is somehow related to #852, but IMHO this issue is not about the markdown syntax (which is clear to me), but rather about displaying different text depending on the platform, which is crazy and a no-go! :confused:

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.