element-hq / element-hq/element-ios
Generated formatted tables display correctly on Element Desktop but not on iOS nor Android apps
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Generate a room message with formatted text.
```
"content": {
"msgtype": "m.text",
"body": "BananasUser 500,173@offthetop:matrix.org 461,644@epsteinepstainuniverse:midov.pl 307,830@bownz:matrix.org 254,618@puglife:matrix.org 194,783@slowlearner:fractaldark.com 14,646@dickveney:matrix.org 100@crookedcook:midov.pl 100@bowner:matrix.nof.st 100@garybussy:nerdsin.space 95@icymountain:matrix.org",
"formatted_body": "BananasUser 500,173@offthetop:matrix.org 461,644@epsteinepstainuniverse:midov.pl 307,830@bownz:matrix.org 254,618@puglife:matrix.org 194,783@slowlearner:fractaldark.com 14,646@dickveney:matrix.org 100@crookedcook:midov.pl 100@bowner:matrix.nof.st 100@garybussy:nerdsin.space 95@icymountain:matrix.org",
"format": "org.matrix.custom.html",
"info": {
"mimetype": "text/html"
},
"url_previews": "[]"
}
```
### Outcome
#### What did you expect?
Layout to show columns on desktop, ios and android in formatted table.
#### What happened instead?
formatted table looks correct on desktop. ios and android not properly handling layout. No way to distinguish what type of table to generate. Changing to improve ios or android layout messes up desktop layout.
https://fractaldark.com/_matrix/static/ios_layout.jpg
https://fractaldark.com/_matrix/static/desktop-layout.png
### Your phone model
iPhone12 Pro
### Operating system version
ios 16.5.1
### Application version
Element 1.10.12
### Homeserver
matrix-synapse==1.84.1 matrix-synapse-ldap3==0.1.4
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.