Skip to content

[Bug]: copying surrounds text in backticks #4368

Description

@Nintorac

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

This is mostly harmless and a bit annoying, but if you accidentally run a pasted command in shell without removing the ticks then it will execute the result of your command.

eg

λ  dev git:(main) `git show-ref --verify refs/remotes/origin/opt/deploy/dev`
zsh: 97649d91044c5c540441c1e54088944bfa0126fc: command not found...
λ  dev git:(main) `git show-ref --verify refs/remotes/origin/opt/deploy/dev`
  1. open and ask the model to produce a bash codeblock
  2. select some text in the coeblock and press ctrl+c
  3. paste somewhere, the pasted text is surrounded by backticks

Expected behavior

no backticks

Actual behavior

surrounded by backticks

Impact

Minor bug or occasional failure

Version or commit

0.0.29-nightly.20260721.864

Environment

firefox 147

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions