Skip to content

fix: strip leading/trailing whitespace from commit hashes (fixes #172) - #339

Closed
KooshaPari wants to merge 1 commit into
simonw:mainfrom
KooshaPari:fix-172-hash-newlines
Closed

KooshaPari wants to merge 1 commit into
simonw:mainfrom
KooshaPari:fix-172-hash-newlines

Conversation

@KooshaPari

Copy link
Copy Markdown

Fixes #172

Changes

  • Added .strip() to commit hash extraction to remove leading/trailing newlines
  • Prevents broken HTML in commit hash URLs on the colophon page
  • Follows the same fix pattern used by mathspp/tools

Copilot AI lite review requested due to automatic review settings September 13, 2026 05:49

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@KooshaPari KooshaPari closed this by deleting the head repository Sep 14, 2026
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.

Hashes in gathered links may contain leading newlines

2 participants