Files
kjvstudy.org/kjvstudy_org
kennethreitz ac43c19eef Fix verse navigation with proper book name capitalization
Added capitalizeBook() helper function that maps user input to proper Title
Case book names (Genesis, Job, 1 Samuel, etc.) to fix 404 errors when
navigating to verses, chapters, or books with lowercase input.

Also changed from non-greedy to greedy regex matching to properly capture
multi-word book names like "1 John" and "Song of Solomon" in verse references.

Fixes:
- "job 1:1" now navigates to /book/Job/chapter/1/verse/1
- "1 john 3:16" works correctly
- "romans 8" navigates properly
- All book names properly capitalized regardless of user input case

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 00:06:47 -05:00
..
2025-11-20 19:06:22 -05:00