Skip to content

Apply smart apostrophe formatting to Hebrew month titles - #25

Merged
mjradwin merged 1 commit into
mainfrom
claude/hebrew-month-apostrophe-kg5s7w
Aug 31, 2026
Merged

Apply smart apostrophe formatting to Hebrew month titles#25
mjradwin merged 1 commit into
mainfrom
claude/hebrew-month-apostrophe-kg5s7w

Conversation

@mjradwin

Copy link
Copy Markdown
Member

Summary

Apply smart apostrophe formatting to Hebrew month names in PDF calendar headers to ensure consistent typographic presentation.

Changes

  • Wrap hebMonthName() result with jsutil.SmartApostrophe() in the Hebrew month title rendering to normalize apostrophe characters in month names

Details

This change ensures that Hebrew month names displayed in PDF calendar headers use proper typographic apostrophes rather than straight quotes, maintaining consistency with the rest of the document's text formatting. The SmartApostrophe utility function handles the character normalization transparently.

https://claude.ai/code/session_01DnutVc7z8QrQ2MSJGFsXWG

drawHebMonthTitle built the mm=1/mm=2 headline directly from
hebMonthName() without running it through jsutil.SmartApostrophe, so
"Sh'vat 5787" used a typewriter apostrophe there while the same month
name rendered smart everywhere else (event subjects, the mm=0 subtitle
via altDateBrief). Wrap it the same way render.go's other two call
sites already do.
@mjradwin
mjradwin merged commit c1c7dc6 into main Aug 31, 2026
2 checks passed
@mjradwin
mjradwin deleted the claude/hebrew-month-apostrophe-kg5s7w branch August 31, 2026 22:11
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