Inline-code blue color bleeds into first word of next table cell

Resolved 💬 2 comments Opened Apr 17, 2026 by ysoftman Closed May 27, 2026

Summary

In markdown tables rendered by Claude Code's terminal, the inline-code blue color (normally applied to text wrapped in backticks) appears to leak into the first word of an adjacent cell when the previous cell contains multiple ALL-CAPS / slash-separated technical terms without backticks.

Environment

  • Claude Code: 2.1.112
  • OS: macOS 26.3.1 (darwin)
  • Terminal: WezTerm

Reproduction

Render this markdown table in Claude Code chat:

| Step | Description | Mode |
| --- | --- | --- |
| `Step 0: Precheck` | git CLI / git repo / Jira MCP / gh CLI / Confluence MCP 확인. 하나라도 실패 시 중단 | 🟢 자동 |
| `User Input` | Version (x.y.z), schedule | 🔵 수동 |
| `Step 1-0` | `example-{version}` Jira 버전 존재 확인 | 🟢 자동 + 🔵 수동 대기 |

<img width="1268" height="426" alt="Image" src="https://github.com/user-attachments/assets/c2e52ee9-2c46-4632-916c-21e0772326f0" />

Expected Behavior

The word 자동 (Korean for "auto") in the 3rd column of row 1 has no backticks in the source and should render in the default text color (same as 수동 in row 2 and other rows).

Actual Behavior

In row 1, the 3rd cell's first word 자동 is rendered in the same blue/purple color that inline-code (backtick-wrapped) text uses. Every other 자동 / 수동 in the table renders in the default color as expected. The renderer appears to auto-highlight terms like git CLI, Jira MCP, gh CLI, Confluence MCP in the middle cell even without backticks, and that inline-code styling state seems to leak past the cell boundary into the start of the next cell.

(Screenshots will be attached in a follow-up comment.)

Additional Notes

  • The bug only triggers on rows where the previous cell contains many auto-highlighted technical terms.
  • Cells with backtick-wrapped terms (e.g. ` example-{version} `) do not cause the leak — only un-backticked terms that the renderer apparently auto-detects.
  • Wrapping 자동 explicitly in backticks is a workaround but shouldn't be necessary.

Related Issues

  • #17892 (Text styling progressively misaligned in multi-line responses) — same bug family (ANSI style state tracking failure) but different trigger: progressive drift across wrapped lines on Windows vs. our one-shot cell-boundary leak on macOS/WezTerm
  • #25346 (ANSI color bleed on Windows Terminal) — similar mechanism but different context
  • #13438 (CJK table misalignment)
  • #14763 (table rendering broken in v2.0.73)

View original on GitHub ↗

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