Wrong behavior when pasting multiple-line code to callout

Steps to reproduce

first copy a multiple-line code like:

int main() {
    return 0;
}

then paste it to a callout, the result will be like:

int main() {
return 0;
}

>
and that will not be correctly handled by the renderer, leading to a strange render result.


### Did you follow the troubleshooting guide? \[Y/N\]

Y

### Expected result

>```cpp
>int main() {
>return 0;
>}
>```
>

### Actual result

>```cpp
int main() {
return 0;
}

Environment


Additional information

For code blocks, tables, etc., (everything really) it’s easiest to highlight the entire section and run the Insert callout command. Everything will be wrapped up nicely in the callout.

source mode | reading view

CleanShot 2026-02-07 at 13.18.33

thanks a lot