Skip to content

Omit blockquote markers when copying quoted selections in the TUI - #49153

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5ac0c8c47a77937e5a35c376d8908065217ad2dc
Sep 29, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5ac0c8c47a77937e5a35c376d8908065217ad2dc

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Omit blockquote markers when copying quoted selections in the TUI

Why

Copying text selected within a blockquote adds Markdown quote markers that are not part of the selected content.

What changed

Return plain text for selections containing only quoted content, preserving literal > characters and selected whitespace. For quoted tables and task lists, remove quote prefixes while retaining table reconstruction and checkbox states. Selections spanning quoted and unquoted content continue to preserve Markdown structure.

Preserve the existing logical source when marking list separator lines as omitted from Markdown copying.

Testing

Add coverage for partial and nested blockquote selections, quoted tables and task lists at narrow and wide widths and after rewrapping, and copying a mouse-selected blockquote.

…9153)

## Why

Copying text selected within a blockquote adds Markdown quote markers that are not part of the selected content.

## What changed

Return plain text for selections containing only quoted content, preserving literal `>` characters and selected whitespace. For quoted tables and task lists, remove quote prefixes while retaining table reconstruction and checkbox states. Selections spanning quoted and unquoted content continue to preserve Markdown structure.

Preserve the existing logical source when marking list separator lines as omitted from Markdown copying.

## Testing

Add coverage for partial and nested blockquote selections, quoted tables and task lists at narrow and wide widths and after rewrapping, and copying a mouse-selected blockquote.

GitOrigin-RevId: 5ac0c8c47a77937e5a35c376d8908065217ad2dc
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5ac0c8c47a77937e5a35c376d8908065217ad2dc branch from de65bc5 to c6c7c8d Compare September 29, 2026 03:49
@copyberry
copyberry Bot merged commit c6c7c8d into main Sep 29, 2026
1 check failed
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5ac0c8c47a77937e5a35c376d8908065217ad2dc branch September 29, 2026 03:50
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:52 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:52 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:52 — with GitHub Actions Active
@Vvindo
Vvindo deployed to issue-triage September 29, 2026 03:53 — with GitHub Actions Active
@DCjanus
DCjanus deployed to issue-triage September 29, 2026 04:09 — with GitHub Actions Active
@DCjanus
DCjanus deployed to issue-triage September 29, 2026 04:09 — with GitHub Actions Active
@DCjanus
DCjanus deployed to issue-triage September 29, 2026 04:09 — with GitHub Actions Active
@DCjanus
DCjanus deployed to issue-triage September 29, 2026 04:10 — with GitHub Actions Active
@it-yusha
it-yusha deployed to issue-triage September 29, 2026 04:11 — with GitHub Actions Active
@it-yusha
it-yusha deployed to issue-triage September 29, 2026 04:11 — with GitHub Actions Active
@it-yusha
it-yusha deployed to issue-triage September 29, 2026 04:11 — with GitHub Actions Active
@it-yusha
it-yusha deployed to issue-triage September 29, 2026 04:12 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — c6c7c8d2 Deployed Sep 29, 2026 by it-yusha via Identify potential duplicates (open issues fallback) #49628
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants