Users can be mentioned within code blocks

(#2699) Bug Fixed desktop markdown

Observed behaviour

Mentions that target specific users or roles appear as ID links and continue to function as though they were unformatted.

Reproduction steps

  1. Mention either a user or role
  2. Surround the mention within a code block, either inline or multiline.

Build information

canary build 664 (d3ccc95), Electron 41.2.2, Windows 10 10.0.19045 (x64), desktop canary 0.0.167, locale en-US

Platform

Windows

Details

Expected behaviour Any contained mentions are rendered as plain text within the code block.
  • image.png

    image.png

    624×376 | 34 kB

  1. Rex changed the status from Needs triage to Fixed

2 comments

Sign in with Fluxer to comment and vote.
Comment by Fullest
FullestReviewer 1 vote
Can reproduce CR: Canary 768 (a0c61f3), Host 0.0.213, Linux 7.0.4-100.fc43.x86_64 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-US