back slashes do not cancel code blocks

(#3321) Bug Closed: Fixed desktop markdown

Reproduction steps

  1. send a message with a backslash( \ ) and three backticks ( ` ) surrounding some text to make a codeblock

Observed behaviour

the backslash does not escape the codeblock

Build information

Canary Desktop 2026.831.195359, Web 2026.829.224002, Linux 7.1.9-artix1-2 (x64), Electron 42.10.0, Chrome 148.0.7778.280, Node 24.18.1, Locale en-GB

Platform

Linux

Details

Expected behaviour the backslash escapes the codeblock and you can see the backticks
  1. bizo changed the status from Needs triage to Awaiting confirmation
  2. PolarSky changed the status from Awaiting confirmation to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by Comfy_Deer
Comfy_DeerReviewer 1 vote
Can reproduce CR, same line or with enter space doesn't matter, \ stays with triple backticks. single backticks not affected: Canary Desktop 2026.901.185447, Web 2026.829.224002, Linux 7.0.0-30-generic (x64), Electron 42.10.0, Chrome 148.0.7778.280, Node 24.18.1, Locale en-US
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Canary Desktop 2026.830.132530, Web 2026.829.224002, Windows 11 10.0.26200 (x64), Electron 42.10.0, Chrome 148.0.7778.280, Node 24.18.1, Locale en-GB