Skip to content

fix(band): preserve literal text in copied Markdown reports - #1542

Open
zhangkom wants to merge 1 commit into
DietrichGebert:mainfrom
zhangkom:codex/literal-band-markdown-fields
Open

zhangkom wants to merge 1 commit into
DietrichGebert:mainfrom
zhangkom:codex/literal-band-markdown-fields

Conversation

@zhangkom

Copy link
Copy Markdown

Summary

Escape task names, project paths and model labels before inserting them into the copied Markdown report. Newlines stay visible as breaks inside their headings or cells, and the report keeps its labels, table, and session code span.

Fixes #1523.

Evidence

  • The new regression failed on the original exporter because the title ended at the first line break and rendered markup verbatim. The two export tests passed after the change.
  • A separate render check with Markdown-it confirmed literal angle brackets, emphasis and link syntax, a Windows-style path with a pipe, line breaks in the heading and table, and the formatted session ID.
  • npm test passed with the documented pandas dependency available. The initial run without pandas failed its CSV benchmark check.
  • node scripts/check-rule-copies.js, node scripts/check-versions.js and git diff --check passed.

AI assistance: OpenAI Codex.

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.

Copied Band Markdown reinterprets task and project text as markup

1 participant