[BUG] Commands and messages rendered with unwanted bullet points / line breaks

Resolved 💬 3 comments Opened Apr 12, 2026 by galenwilkerson Closed Apr 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When Claude outputs plain text that should be copied into a terminal (e.g.
commit messages, shell commands, file paths), the markdown renderer
frequently adds unwanted bullet points or line breaks. This happens even when
the text is not intended as a list. Code blocks help sometimes but the issue
persists across many output types. Makes it very difficult to copy-paste
commands directly.

What Should Happen?

shouldn't have bloody line breaks!

Error Messages/Logs

Steps to Reproduce

  1. Ask Claude for a shell command or commit message
  2. Claude outputs the text as plain prose (not in a code block)
  3. The markdown renderer converts the first line into a bullet point
  4. Copying the text into a terminal includes the bullet character, breaking

the command

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.98 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗