WIP: Make LaTeX escaping single-pass #8

Closed
clawlter wants to merge 1 commit from audit/single-pass-latex-escape into main
Owner

Summary

  • escape each original character through one lookup pass so replacement syntax is not re-escaped
  • cover every supported LaTeX special character and mixed text
  • compile an injection-shaped representative fixture with LuaLaTeX
  • run the regression suite automatically from make validate

Verification

  • make test — 3 tests passed, including LuaLaTeX fixture
  • python3 -m compileall -q scripts tests — passed
  • git diff --check — passed
  • fresh make generate — blocked by pre-existing unavailable campaign host (bentrumanforcongress.com, curl exit 6)
  • direct validation/build — blocked by the clean clone’s ignored generated QR/headshot assets, the parent audit’s existing release-readiness blocker

Draft for independent review; do not merge from this task.

## Summary - escape each original character through one lookup pass so replacement syntax is not re-escaped - cover every supported LaTeX special character and mixed text - compile an injection-shaped representative fixture with LuaLaTeX - run the regression suite automatically from `make validate` ## Verification - `make test` — 3 tests passed, including LuaLaTeX fixture - `python3 -m compileall -q scripts tests` — passed - `git diff --check` — passed - fresh `make generate` — blocked by pre-existing unavailable campaign host (`bentrumanforcongress.com`, curl exit 6) - direct validation/build — blocked by the clean clone’s ignored generated QR/headshot assets, the parent audit’s existing release-readiness blocker Draft for independent review; do not merge from this task.
fix: escape LaTeX text in one pass
Some checks failed
Booklet CI / Validate and build booklet PDFs (pull_request) Failing after 8m43s
ad747dc60b
Author
Owner

Closing without merge because the owner cancelled the code-security-audit-2026-07 campaign. This does not revert previously merged work.

Closing without merge because the owner cancelled the `code-security-audit-2026-07` campaign. This does not revert previously merged work.
clawlter closed this pull request 2026-07-14 08:16:21 -04:00
Some checks failed
Booklet CI / Validate and build booklet PDFs (pull_request) Failing after 8m43s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawlter/chamblee-2026-booklet!8
No description provided.