Skip to content

Copying selected text from Docs preview adds Markdown syntax to plain text #9947

In review

Description

@gioisco

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • Making Bruno unusable for me.
  • Slowing me down but I'm able to continue working.
  • Annoying.
  • This feature was working in a previous version but is broken in the current release.

Bruno version

4.3.0

💻 Operating System

Windows

Specific OS Version / Distro

Windows 11 (build 26200)

🐞 Describe the bug

Copying formatted text from a request’s read-only Docs view with Ctrl+C adds Markdown syntax to the plain-text clipboard content.

📝 Steps to reproduce

  1. Use the .bru request provided
  2. Open the Clipboard Samples request and select Docs. Stay in the default read-only view
  3. In the third item of the numbered list, select only green apple. Press Ctrl+C and paste into Notepad. The pasted text is 1. green apple
  4. Repeat with green apple in the heading. The pasted text is ### green apple
  5. Repeat with green apple in the SQL code block. The pasted text wraps the two words in a Markdown code fence with the sql language tag

Expected result

Each selection should paste as green apple.

Additional context

Bruno adds Markdown syntax to the plain-text clipboard content for every formatting type tested, including headings, numbered and bulleted lists, bold, italic, inline code, and fenced code blocks. Copying the same words from a plain paragraph yields green apple.

📁 Collection to reproduce

meta {
name: Clipboard Samples
type: http
seq: 5
}

get {
url: http://127.0.0.1:65535/
body: none
auth: none
}

docs {
Open the request's Docs tab in its default read-only view. If Docs is hidden, open the request tab overflow menu. The request does not need to be sent.
Drag to select a few words in one sample, press Ctrl+C, and paste into a plain-text editor.
Repeat for each sample, including the plain paragraph as a control. Then select across several samples and copy again.

If you select green apple inside a sample, the expected plain-text paste is green apple.
Check whether the paste contains characters outside the visible selection, such as a list marker, heading marker, emphasis delimiters, or a code fence.

Heading with a green apple inside

Plain paragraph with a green apple inside.

  • A bullet item with a green apple inside.
  • Another bullet item with a blue notebook inside.
  • A third bullet item with a green apple inside.
  1. A numbered item with a green apple inside.
  2. Another numbered item with a blue notebook inside.
  3. A third numbered item with a green apple inside.

Bold text with a green apple inside.

Italic text with a green apple inside.

Inline code with a green apple inside.

SELECT 'a green apple inside' AS sample;

}

📷 Screenshots/Live demo link

image

Activity

  1. added
    bug
    on Nov 23, 2026
  2. self-assigned this
    on Nov 24, 2026
  3. aditya-bruno commented on Nov 24, 2026

    @aditya-bruno
    Collaborator

    Thanks for reporting this, @gioisco . You're right, copying from the Docs preview carries the Markdown symbols into plain-text pastes, which isn't what you'd expect from a formatted view. I'm tracking this internally and there's a fix in progress in #9948. Follow that PR for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugstatus-discovery

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions