Skip to content

[Bug]: copied literal Markdown changes when pasted and sent #36866

Closed

Description

@StiensWout

Before submitting

  • 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

  1. Open a thread containing the message Type \*word\* and \[label](https://example.com) literally.
  2. Select the rendered paragraph and copy it with Ctrl/Cmd+C.
  3. 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.

Impact

Minor bug or occasional failure

Version or commit

main @ 7c52ef7

Environment

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

Before: notation lost after sending

Workaround

Retype or escape the literal Markdown characters before sending.

Activity

  1. added
    vouch:trusted
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions