Describe the bug
Images sent by bots or webhooks via HTML-formatted messages (e.g. <img src="mxc://..." width="200">) render squashed/compressed to a very small height in Sable, while the same message renders correctly in upstream Cinny.
Reproduction
- Have a bot send an HTML message with an
<img> tag pointing to an MXC URI, e.g.:
<img src="mxc://your.homeserver/xyz" width="200" alt="image">
- Observe the image in Sable - it appears squashed vertically into a thin strip.
- Open the same room in Cinny - the image renders at the correct dimensions.
Expected behavior
The image should render at the correct aspect ratio, respecting the width attribute or the image's natural dimensions.
Platform and versions
1. OS: Linux
2. Browser: Vivaldi 7.9.3970.60 (Chromium 146.0.7680.218)
3. Sable version: 1.15.3-dev (6f98bd7)
4. Matrix homeserver: self-hosted
Additional context
Even some html formatting like font color (working in Cinny and Element Web) doesn't render in Sable.
Describe the bug
Images sent by bots or webhooks via HTML-formatted messages (e.g.
<img src="mxc://..." width="200">) render squashed/compressed to a very small height in Sable, while the same message renders correctly in upstream Cinny.Reproduction
<img>tag pointing to an MXC URI, e.g.:<img src="mxc://your.homeserver/xyz" width="200" alt="image">Expected behavior
The image should render at the correct aspect ratio, respecting the
widthattribute or the image's natural dimensions.Platform and versions
Additional context
Even some html formatting like font color (working in Cinny and Element Web) doesn't render in Sable.