xo-facet: genfacet: keep trailing newlines from .j2 templates
This commit is contained in:
parent
e8f59e627e
commit
54e501d228
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue