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
Regression in 0.47.1: copying an inline code span from the timeline includes the backticks #6484
Regression in 0.47.1: before this update, copying an inline code span gave the bare text. Since 0.47.1 the timeline copy handler writes Markdown to text/plain (see #6376). Agents often put a command on its own line as inline code, e.g. "so run:" followed by `valet restart nginx`. Selecting and copying that line keeps the backticks, so pasting it into a terminal fails. When the selection is all inside one code span, I'd expect just the visible text.
Versions and environment
bb desktop 0.47.1, macOS 15.4 (worked as expected before updating to 0.47.1)
claude-code provider
Steps to reproduce
Get an assistant message where a paragraph is nothing but an inline code span, e.g.
**Your step:** nginx needs sudo to reload, so run:
`valet restart nginx`
In the timeline, select the valet restart nginx line.
When the whole selection sits inside a single inline code span (or a code block), copy the raw text with no Markdown around it. A selection that mixes prose and code can still be copied as Markdown. Another option is a "Copy as plain text" entry in the selection menu.
Suggested priority
Medium. It hits anyone copying commands out of agent replies. Workaround: delete the backticks by hand after pasting.
changed the title [-]Copying an inline code span from the timeline includes the backticks[/-][+]Regression in 0.48.0: copying an inline code span from the timeline includes the backticks[/+]on Oct 28, 2026
changed the title [-]Regression in 0.48.0: copying an inline code span from the timeline includes the backticks[/-][+]Regression in 0.47.1: copying an inline code span from the timeline includes the backticks[/+]on Oct 28, 2026
Reproduction report: REPRODUCED, root-cause confidence high. Repeated in two clean trusted-main checkouts at the document copy-event boundary (Linux/jsdom; native macOS not directly tested).
Fix: Ready PR #6487 preserves raw code-only copies and keeps Markdown for mixed selections and Add to chat. 132 changed text lines across five files.
Verification: Four focused cases fail before the fix; all 119 relevant tests pass afterward, along with app lint, typecheck, and build. Rechecked after rebasing onto latest trusted main.
Activity
[-]Copying an inline code span from the timeline includes the backticks[/-][+]Regression in 0.48.0: copying an inline code span from the timeline includes the backticks[/+][-]Regression in 0.48.0: copying an inline code span from the timeline includes the backticks[/-][+]Regression in 0.47.1: copying an inline code span from the timeline includes the backticks[/+]polevaultweb commentedon Oct 28, 2026
Still reproduces on bb desktop 0.48.0 (macOS 15.4): copying a line that is only an inline code span still includes the backticks.
bb-slop-cop commentedon Oct 28, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotui,confirmed-repro.Copy visible text for selections inside one formatted span
Copy visible text for code, formatted spans and plain prose selections (