Skip to content

getting_started: remove the non-breaking spaces from the <style> block - #119

Merged
mmcky merged 1 commit into
mainfrom
fix/getting-started-style-nbsp
Nov 26, 2026
Merged

mmcky merged 1 commit into
mainfrom
fix/getting-started-style-nbsp

Conversation

@mmcky

@mmcky mmcky commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Removes the eight non-breaking spaces (U+00A0) that an earlier version of action-translation's French typography pass wrote into the <style> block of lectures/getting_started.md, before each : and ; in the CSS (lines 54–59). After the change, the block is byte-identical to the English source's in QuantEcon/lecture-python-programming.

What changes

Before After
.auto width<U+00A0>: 70%<U+00A0>; and height<U+00A0>: auto<U+00A0>; width: 70%; and height: auto;
.terminal width<U+00A0>: 80%<U+00A0>; and height<U+00A0>: auto<U+00A0>; width: 80%; and height: auto;

Nothing else changes. The file's other eleven U+00A0 are French prose typography, and they stay. No prose, mathematics or code changes, and the state file is untouched.

Why now

QuantEcon/action-translation#474 stopped the typography pass from writing into CSS, +++ cell breaks and table delimiter rows. It shipped in v0.34.0, which @v0 has pointed at since 2026-11-26. So a sync will no longer re-damage this block. Before that release, a hand repair would have been undone by the next sync. The apostrophe heal for the same engine work landed first, as #118.

This is the edition-side repair that QuantEcon/action-translation#325 asks for. That issue, and QuantEcon/action-translation#324, can be shut by hand once this merges.

Checks

  • The <style> block with U+00A0 removed was diffed against git show origin/main:lectures/getting_started.md in lecture-python-programming: identical.
  • U+00A0 left in the file: 11, all in prose.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZ71pm2utkBF8VD76d

The French typography pass of action-translation before v0.34.0 wrote
U+00A0 before `:` and `;` inside this lecture's CSS. Removing the eight
of them makes the block byte-identical to the English source's. The
other eleven U+00A0 in the file are French prose typography and stay.

v0.34.0 (now on @v0) leaves raw HTML blocks alone, so a sync will not
damage the block again. See QuantEcon/action-translation#325 and
QuantEcon/action-translation#474.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMZ71pm2utkBF8VD76d
@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-119--verdant-toffee-3261a8.netlify.app

Commit: e4f5b32

📚 Changed Lectures


Build Info

@mmcky
mmcky merged commit 5f41c39 into main Nov 26, 2026
3 checks passed
@mmcky
mmcky deleted the fix/getting-started-style-nbsp branch November 26, 2026 10:42
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.

1 participant