Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render jinja with trim and strip #57

Open
adiroiban opened this issue May 30, 2017 · 0 comments
Open

Render jinja with trim and strip #57

adiroiban opened this issue May 30, 2017 · 0 comments

Comments

@adiroiban
Copy link
Member

I think that the template should be rendered with trim_blocks and lstrip_blocks set to true to make it easier to read the template

http://jinja.pocoo.org/docs/2.9/api/#jinja2.Environment

let me know if you find it useful and I can look at creating a PR

thanks!

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

No branches or pull requests

2 participants