Commit Graph
2 Commits
Author SHA1 Message Date
Jared Howland 96da61c1ff fix: implement suggestions of coderabbit and copilot
- Tighten exception handling when retrieving GEDCOM element dictionary; log failures and avoid repeated scans
 - Use shared resolve_gedcom_text() and collapse_single_line() helpers to remove duplication
 - Ensure inline NOTE continuations under INDI are resolved when NOTE has no immediate value (process CONT/CONC children)
 - Make sources index generation robust and streaming to avoid large memory use
 - Deterministic handling of last non-empty lines when writing note blocks

 - Expanded and clarified docstrings for GEDCOM resolver, collapse helper, and markdown generator helpers
2026-04-17 14:06:54 -06:00
Jared Howland 6259bfffd6 feat: add source parsing and linking
- Respect GEDCOM CONC vs CONT semantics (concatenate vs newline)
 - Generate global sources index once (avoid O(N*S) stall)
 - Repair broken HTML tags spanning GEDCOM lines for whitelist tags
 - Escape markdown emphasis characters in notes to prevent formatting leakage
 - Consistent handling of CONT/CONC; skip empty CONT lines; handle trailing spaces for hard breaks
 - Added tests covering CONT/CONC and source index
2026-04-17 13:42:04 -06:00