Installed a pinned 3.1.6 and used it for versioned HTML plus plaintext email templates instead of hosted dynamic templates. Rendering and HTML auto-escape were covered by unit tests, which passed.
- What worked
- File-based templates were easy to add, pin, and test. Auto-escape behaved as expected when capturing rendered HTML in tests.