Skip to content

Android-Web markdown inconsistency #6287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
waclaw66 opened this issue Jun 12, 2022 · 1 comment
Closed

Android-Web markdown inconsistency #6287

waclaw66 opened this issue Jun 12, 2022 · 1 comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@waclaw66
Copy link
Contributor

Steps to reproduce

Markdown enabled in both Web and Android clients.
Lets send "21. st" from them...

Element Web Element Android
sent 21. st 21. st
shown 21. st 1. st
source
{
"type": "m.room.message",
"content": {
"org.matrix.msc1767.message": [
{
"body": "21. st",
"mimetype": "text/plain"
},
{
"body": "<ol start="21">\n<li>st\n\n",
"mimetype": "text/html"
}
],
"body": "21. st",
"msgtype": "m.text",
"format": "org.matrix.custom.html",
"formatted_body": "<ol start="21">\n<li>st\n\n"
}
}
{
"content": {
"body": "21. st",
"format": "org.matrix.custom.html",
"formatted_body": "<ol start="21">\n<li>st\n",
"msgtype": "m.text"
},
"room_id": "!XHJBYOUHLuCnrjsaUv:bolesiny.net",
"type": "m.room.message"
}

Outcome

What did you expect?

Same text displayed.

What happened instead?

Different text displayed.

Your phone model

Samsung Galaxy S20 FE

Operating system version

Android 12

Application version and app store

Element: 1.4.19

Homeserver

own

Will you send logs?

No

Are you willing to provide a PR?

No

@waclaw66 waclaw66 added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jun 12, 2022
@ouchadam
Copy link
Contributor

thanks for raising (and providing the clear examples)! going to close as a duplicate of #4777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

2 participants