You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Code blocks <pre><code></code></pre> are horribly broken for android users. Instead of interpreting the html correctly, the client seems to try to parse the contents as partial markdown of sorts? This only seems to happen to RichEmbed replies, not normal posts.
To Reproduce
{
"msgtype": "m.notice",
"body": "This doesn't really matter for recreating the issue",
"format": "org.matrix.custom.html",
"formatted_body": "<mx-reply><blockquote><a href=\"https://matrix.to/#/!nowhere:example.com/$nowhere\">In reply to</a><a href=\"https://matrix.to/#/@noone:example.com\">@noone:example.com</a><br />Some text</blockquote></mx-reply><pre><code class=\"language-plain\">EXAMPLE(1) Element Android HELP(1)\n\n<b>NAME</b>\n example - example page\n\n<b>DESCRIPTION</b>\n <b>example</b> is a manual page to recreate failures in the Element Android message renderer.\n\n<b>EXAMPLE</b>\n <b>example</b> list\n Lorus Ipsum\n\n <b>__example__</b> list\n Lorus Ipsum\n\n <b>[example](https://example.com)</b> list\n Lorus Ipsum\n\n <b>**example**</b> list\n Lorus Ipsum\n\n1.0.0 2020-10-11 EXAMPLE(1)\n</code></pre>\n"
}
Expected behavior
Element should just render the html normally. Codeblocks in general are broken in Element Android (and Riot.im Android) but this breakage is exceptional.
Screenshots
Smartphone (please complete the following information):
Device: Samsung S8
OS: Android 9
Additional context
App version and store: 1.0.8 Play
The text was updated successfully, but these errors were encountered:
Describe the bug
Code blocks
<pre><code></code></pre>
are horribly broken for android users. Instead of interpreting the html correctly, the client seems to try to parse the contents as partial markdown of sorts? This only seems to happen to RichEmbed replies, not normal posts.To Reproduce
Expected behavior
Element should just render the html normally. Codeblocks in general are broken in Element Android (and Riot.im Android) but this breakage is exceptional.
Screenshots
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: