Skip to content

fix: render status actions without raw HTML in the table cell - #599

Open
Wintersta7e wants to merge 1 commit into
openai:mainfrom
Wintersta7e:fix/status-actions-separator
Open

fix: render status actions without raw HTML in the table cell#599
Wintersta7e wants to merge 1 commit into
openai:mainfrom
Wintersta7e:fix/status-actions-separator

Conversation

@Wintersta7e

Copy link
Copy Markdown

The Actions column of the /codex:status job table joins each action with a literal <br>, which Claude Code's markdown table renderer prints as text instead of interpreting as a line break.

| ... | `/codex:status review-live`<br>`/codex:cancel review-live` |

A hard line break can't survive a GFM table cell regardless — escapeMarkdownCell a few lines above already collapses newlines to spaces — so the issue's literal "Expected" output isn't reachable without moving the actions out of the table entirely. That felt like a UI change rather than a bug fix, so this takes the first option from the issue's own suggested fix and joins with a space:

| ... | `/codex:status review-live` `/codex:cancel review-live` |

One line of production code. The existing status shows phases, hints, and the latest finished job test asserted the <br> form and now asserts the space-joined one, so a regression in the separator fails the suite.

Happy to switch to a nested list outside the cell instead if you'd rather have the actions on genuinely separate lines.

Fixes #495

The Actions column joined each action with a literal <br>, which Claude
Code's markdown table renderer prints as text rather than a line break.
A hard line break cannot survive a GFM table cell anyway -- escapeMarkdownCell
already collapses newlines to spaces -- so join with a space, which is the
first option the issue's own suggested fix lists.

Fixes openai#495
@Wintersta7e
Wintersta7e requested a review from a team August 5, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/codex:status renders literal <br> in Actions column instead of a line break

1 participant