You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: copied literal Markdown changes when pasted and sent #36866
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a thread containing the message Type \*word\* and \[label](https://example.com) literally.
Select the rendered paragraph and copy it with Ctrl/Cmd+C.
Paste into the composer and send.
Expected behavior
The new message retains the literal asterisks, bracket notation and visible URL shown in the original message.
Actual behavior
The new message shows “Type word and label literally.” The word becomes emphasis and the bracket notation becomes a link, hiding the literal characters and URL. The clipboard contains the characters, but it lacks the escaping needed to preserve their meaning when pasted and sent.
Linux, Chromium, web client. Reproduced with the free Replay provider; the bug is in rendered Markdown copying rather than a provider adapter.
Logs or stack traces
Confirmed by a bughunt and independent Claude Opus 5.5 verification, then reproved on main. The real-app scenario scripts/scenarios/copied-literal-markdown-sends-as-shown.e2e.ts fails on base and passes with the serializer fix.
Screenshots, recordings, or supporting files
Workaround
Retype or escape the literal Markdown characters before sending.
Activity