element-hq / element-hq/element-x-ios
Tables don't render
- Dominant language
- Swift
- Stars
- 945
- Forks
- 372
- Avg merge
- 21h 42m
- Merged PRs (30d)
- 67
Description
### Steps to reproduce
1. Compose a table in GFM syntax
2. Send the message
### Outcome
#### What did you expect?
The table to render in the timeline as table
#### What happened instead?
The table content is squashed into what looks like a plain text string

Notably the same message renders the table on Element Web. So the HTML representation seems to be correct. Just the rendering on Element X appears to be broken.

```
{
"content": {
"body": "| foo | bar |\n| - | - |\n| bar | foo |",
"format": "org.matrix.custom.html",
"formatted_body": "\n\nfoobarbarfoo\n",
"msgtype": "m.text"
},
"room_id": "!zxMbOwUzGXOQTceaJf:matrix.org",
"type": "m.room.message"
}
```
### Your phone model
_No response_
### Operating system version
_No response_
### Application version
_No response_
### Homeserver
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.