Edit history

Syntax highlighting string, if unrecognized, is part of the code in the block has not been edited, so there are no earlier versions.

Current version | Original by C.Ezra.M
Show

Syntax highlighting string, if unrecognized, is part of the code in the block

Reproduction steps

  1. Create a code block.
  2. Place a string representing a language for syntax highlighting right after the three backticks ( ``` ) at the beginning, with no line break in-between. Try n, which is not a real programming language.
  3. Add something to the code block after the programming language string and the newline after it, to ensure that a code block shows up.

Expected behaviour

The programming language string should not show up in the code block.

Actual behaviour

The programming language string shows up in the code block. If you press the "copy to clipboard" button, the programming language string is part of the copied text.

Build information

Version 2026.10.100, Beta 11, Channel Beta, Build 2799, Android 16 (arm64), Device Xiaomi 2511FPC34G, Locale pl-PL, Push unifiedpush, Flutter 3.47.7, Dart 3.13.5

Platform

Android, iOS

Evidence

Example code block to test the bug with.
print("Hello, world!")
This can also happen for languages that do actually exist, like asm (Assembly), probably depends on which ones have no syntax highlighting available in the mobile app.
global _start

section .text
_start:
    mov rcx, 10
    mov rax, 0
    loop_start:
        add rax, rcx
        loop loop_start
    mov rax, 60
    mov rdi, 0
    syscall