Skip to content

fix: preserve inline code capitalization in CLI - #58

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-inline-code-case
Sep 11, 2026
Merged

fix: preserve inline code capitalization in CLI#58
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-inline-code-case

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Sep 11, 2026

Copy link
Copy Markdown
Member

The standalone CLI and formatLine() can lowercase words inside inline code, turning `Foo Bar Baz` into `Foo bar Baz`. Preserve complete code spans with a small scanner that indexes matching backtick runs in linear time, avoiding regex backtracking and repeated suffix searches. Add a focused regression test covering multiple backticks, escapes, and unmatched delimiters.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-11T07:35:03.740747Z 44bcff0 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread src/core.ts Fixed
@chenjiahan
chenjiahan merged commit 444bfc9 into main Sep 11, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-inline-code-case branch September 11, 2026 07:33
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.

2 participants