Markdown alerts escape multi-line code block

(#1571) Bug Fixed markdown mobile

Observed behaviour

Markdown alert shows up surrounded by empty code blocks.

Reproduction steps

  1. Type the message in attachments (also available as a message in #channel )

Build information

Beta 34, Version 1.0.0, Android 10 (arm64), Device samsung SM-N960U1, Locale en-US, Push fcm, Flutter 3.44.0, Dart 3.12.0

Platform

Android

Evidence

message: ```md > [\!WARNING] > This is a warning message. ```

Details

Expected behaviour The whole message would be inside of a code block, with no markdown alert.
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by loyka32
loyka32Reviewer 1 vote
Can reproduce Confirmed - The markdown alert is not displayed properly. - Beta 2035, Version 1.0.0, Android 16 (arm64), Device samsung SM-F966B, Locale de-DE, Push unifiedpush, Flutter 3.44.0, Dart 3.12.0
Comment by Radiant Xyz
Can reproduce Confirmed; the markdown is displayed as a formatted WARNING message box; the codeblock should suppress this formatting being displayed Beta 34, Version 1.0.0, Android 16 (arm64), Device samsung SM-S938B, Locale de-DE, Push fcm, Flutter 3.44.0, Dart 3.12.0
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Beta 2035, Version 1.0.0, Android 15 (arm64), Device OnePlus CPH2465, Locale en-GB, Push unifiedpush, Flutter 3.44.0, Dart 3.12.0