Fix include whitespace #72

Open
Keats opened this Issue Nov 15, 2016 · 1 comment

Projects

None yet

1 participant

@Keats
Owner
Keats commented Nov 15, 2016

Looking at templates/included.html we need to do weird things to keep indentation. Have a look and see if it's easily fixable

@Keats Keats modified the milestone: 0.5 Nov 29, 2016
@Keats
Owner
Keats commented Dec 13, 2016 edited

So it's a bit more complicated than expected:
Indentation is actually correct BUT we don't get the indentation from before the include on the the lines of the include other than the first.
When we are rendering the include, we don't know the indentation level so there's no way to do it manually.

Removing from 0.5 milestone, seems like a pain to fix and probably not worth it. If anyone has a good idea on that, please send a PR!

@Keats Keats removed this from the 0.5 milestone Dec 13, 2016
@SeiryuZ SeiryuZ added a commit to SeiryuZ/tera that referenced this issue Dec 16, 2016
@SeiryuZ SeiryuZ Fix include whitespace (#72) 64e1ec4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment