54cdb0cc19
Changed PDF filename format to use hyphens instead of underscores for consistency with other filename components, while keeping API parameter as `version=with_skills`. ## Changes **Backend:** - internal/handlers/cv.go: Add underscore-to-hyphen conversion in filename generation - New logic: `strings.ReplaceAll(version, "_", "-")` for filename only - API parameter unchanged: still accepts `version=with_skills` **Tests:** - internal/handlers/pdf_test.go: Update expected filenames to use hyphens - cv-*-with_skills-*.pdf → cv-*-with-skills-*.pdf **Documentation:** - Updated all PDF filename references to use hyphens - PDF-EXPORT-FEATURE.md - doc/LONG-PDF-GENERATION.md - PDF-VALIDATION-REPORT.md (new validation report) **PDFs:** - Regenerated all 8 PDFs with new naming convention - Old: cv-short-with_skills-jamr-2025-en.pdf - New: cv-short-with-skills-jamr-2025-en.pdf ## Examples API calls unchanged: - GET /export/pdf?version=with_skills (still works) Generated filenames: - cv-short-with-skills-jamr-2025-en.pdf ✓ - cv-long-with-skills-jamr-2025-es.pdf ✓ **Tests:** All passing ✓ **API:** Backwards compatible ✓
2.2 MiB
2.2 MiB