Skip to content

Repair pandas.md footnote definition corrupted by the typography pass#4

Merged
mmcky merged 1 commit into
mainfrom
fix/footnote-definition-typography
Jul 15, 2026
Merged

Repair pandas.md footnote definition corrupted by the typography pass#4
mmcky merged 1 commit into
mainfrom
fix/footnote-definition-typography

Conversation

@mmcky

@mmcky mmcky commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The seed's French typography pass inserted a non-breaking space between the [^mung] footnote label and its colon in lectures/pandas.md (line 815). CommonMark/MyST require the colon immediately after ], so the line stopped parsing as a footnote definition — it rendered as literal paragraph text and the [^mung] reference at line 71 broke.

This is the output of the standard repair run (scripts/typography/apply.mjs --lang fr) using the fixed transform from QuantEcon/action-translation#83, which masks definition labels and repairs this exact corruption. The script's safety net verified the change is spacing-only, idempotent, and that the other 25 lectures are already correct — this single byte is the only change.

🤖 Generated with Claude Code

The French NBSP pass in the seed inserted a non-breaking space between
the [^mung] footnote label and its colon in pandas.md, which stops the
line parsing as a definition — it rendered as literal paragraph text and
the footnote reference broke.

Ports the fix from QuantEcon/action-translation#83: the transform now
masks definition labels and repairs this exact corruption, so this is
the output of the standard repair run
(scripts/typography/apply.mjs --lang fr), which verified the change is
spacing-only and idempotent across all 26 lectures.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 15, 2026 05:51

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

Repairs a MyST/CommonMark footnote definition in the French pandas lecture so the [^mung] reference renders correctly again (the typography pass had inserted a non‑breaking space before the colon, breaking footnote parsing).

Changes:

  • Fix the [^mung]: footnote definition syntax by removing the space between ] and : in lectures/pandas.md.

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

@mmcky mmcky merged commit ff8a6fe into main Jul 15, 2026
2 checks passed
@mmcky mmcky deleted the fix/footnote-definition-typography branch July 15, 2026 05:58
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