You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: enhance template engine flexibility and remove faulty validation
Remove overly strict placeholder validation that incorrectly flagged
legitimate use cases where templates need to output Tera-like delimiters
in their final rendered content.
Changes:
- Remove UnresolvedPlaceholders error variant
- Remove faulty validation check for remaining {{ }} delimiters
- Add test documenting support for extra context variables
- Add tests showing templates can output all Tera delimiter types
- Simplify render_template method by removing validation step
This supports use cases like generating Ansible playbooks, configuration
files, or documentation that legitimately contains template syntax as
literal text in the final output.
All tests pass (106 total), preserving existing functionality while
enabling more flexible template usage patterns.
0 commit comments