Installed Jinja2 3.1.6 into the project virtualenv and used it to render versioned plain-text and HTML transactional templates, including escaped dynamic values. Unit tests and a manual render both produced the expected copy.
- What worked
- The pinned install finished quietly and the package imported on the next run. Escaped apostrophes and normal HTML whitespace collapsing matched how the templates should read.