Reproduction steps
- Create a code line (with single backticks:
`...`) or a code block (with triple backticks:```). - Insert a Unicode emoji, like
, into the code line or block.
Expected behaviour
The emoji should have not been converted into a shortcode, matching Discord's behavior.
Actual behaviour
The emoji was converted into a shortcode.
Build information
Stable Desktop 2026.921.180627, Web 2026.1027.182052, Linux 7.2.4-ogc3.1.fc44.x86_64 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale pl
Stable Web 2026.1027.182052, Linux (x64), Firefox 153.0, Locale pl
Platform
macOS, Windows, Linux, Web