Multi-line code block does not look correct when closing backticks are next to final line

(#1564) Bug Fixed markdown mobile

Observed behaviour

backticks show up in the code block

Reproduction steps

  1. Copy code block included in attachments
  2. Paste in message box and send message

Build information

Beta 30, Version 1.0.0, Android 10 (arm64), Device samsung SM-N960U1, Locale en-US, Push fcm, Flutter 3.41.9, Dart 3.11.5

Platform

Android

Evidence

Code block: ``` test line 1 test line 2```

Details

Expected behaviour backticks should not show up in the codeblock
  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 - It's not properly formatting as it should. - Beta 2030, Version 1.0.0, Android 16 (arm64), Device samsung SM-F966B, Locale de-DE, Push fcm, Flutter 3.41.9, Dart 3.11.5
Comment by UwU Juliaxe UwU
Can reproduce Beta 34, Version 1.0.0, Android 16 (arm64), Device samsung SM-A176B, Locale en-US, 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