xo-facet: genfacet: keep trailing newlines from .j2 templates

This commit is contained in:
Roland Conybeare 2026-01-31 12:56:45 -05:00
commit 54e501d228

View file

@ -482,7 +482,8 @@ def main():
env = Environment(loader = FileSystemLoader(template_dir),
trim_blocks = True,
lstrip_blocks = True)
lstrip_blocks = True,
keep_trailing_newline = True)
# custom filters.
# A filter 'foo' provides ability to write '{{var | foo}}' to expand