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

Already on GitHub? Sign in to your account

line_comment_prefix lines get rendered as blank lines #204

Open
aspiers opened this Issue May 1, 2013 · 1 comment

Comments

Projects
None yet
1 participant

aspiers commented May 1, 2013

If I set

line_comment_prefix="##"

in my environment, and then include in my template

## start
## empty line follows:
## 
## end

Then it renders to 4 blank lines, which is clearly silly. It should not render any of them.

aspiers commented May 1, 2013

See also #52.

@ieckert ieckert added a commit to ieckert/jinja2 that referenced this issue Jul 3, 2014

@ieckert ieckert fix for #204 - line_comment_prefix 99aa2c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment