Skip to content

fix: restore the non-breaking spaces the numba.md sync stripped#9

Merged
mmcky merged 1 commit into
mainfrom
fix/typography-backfill
Jul 16, 2026
Merged

fix: restore the non-breaking spaces the numba.md sync stripped#9
mmcky merged 1 commit into
mainfrom
fix/typography-backfill

Conversation

@mmcky

@mmcky mmcky commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

The v0.16.1 sync path did not apply deterministic typography, so #6 silently regressed 14 lines of numba.md from U+00A0 to plain spaces before high punctuation — the erosion documented in QuantEcon/action-translation#97. This is the one-off apply.mjs --lang fr backfill that resets the baseline: 1 of 26 lectures changed, whitespace-only (the script refuses to write anything else), 14 → 28 non-breaking spaces. The other 25 lectures were verified already correct.

The action-side fix so future syncs stop stripping these landed in QuantEcon/action-translation#99; QuantEcon/action-translation#100 hardens the heading matching around it.

🤖 Generated with Claude Code

The v0.16.1 sync path did not apply deterministic typography, so PR #6
regressed 14 lines of numba.md from U+00A0 to plain spaces before high
punctuation (documented in QuantEcon/action-translation#97). This re-runs
scripts/typography/apply.mjs --lang fr, whose postcondition verifies the
only difference is spacing before ; : ! ?. One net-new non-breaking space
relative to the seed comes from a line #6 added.

The action-side fix so syncs stop stripping these landed in
QuantEcon/action-translation#99, with matching hardened in
QuantEcon/action-translation#100.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 16, 2026 05:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request restores French typographic non‑breaking spaces (U+00A0) in lectures/numba.md that were previously normalized to regular spaces during an automated translation sync, preventing undesirable line breaks before high punctuation.

Changes:

  • Replaces plain spaces with non‑breaking spaces before :, ! in affected French sentences in lectures/numba.md.
  • Restores the expected whitespace-only baseline for deterministic typography in the French lecture content.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmcky mmcky merged commit 14d0400 into main Jul 16, 2026
2 checks passed
@mmcky mmcky deleted the fix/typography-backfill branch July 16, 2026 05:54
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