mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
## Why An indented code block or a bare table displayed as code can match the normalized text of a later fenced block. Copy mode could assign the fenced block's original text to the earlier target, leaving the fenced block without its original line endings or trailing whitespace. ## What changed Track fenced code in both raw and rendered transcript layouts. Only match original fenced code against copy targets that came from a fence. ## Testing Extend copy-mode regression tests with an indented block and a bare table that each precede a fenced block with matching normalized text. GitOrigin-RevId: fbbce8e0feb71a449bb978aca65e1d2202da812e