Skip to content

Conversation

jpcima
Copy link
Contributor

@jpcima jpcima commented Aug 25, 2019

I add these options from Jinjas2 API.

When enabled together, they can give a nicer output to conditional and loop blocks, by eliminating whitespace on lines where these blocks reside alone.
https://tedboy.github.io/jinja2/templ6.html

It's implemented on comments and statements.
Compared against Jinjas2, I obtained identical outputs.

@pantor pantor merged commit 66196fd into pantor:master Sep 8, 2019
@pantor
Copy link
Owner

pantor commented Sep 8, 2019

Great, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants