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

include always strips preceeding newlines #69

Closed
drahnr opened this issue Apr 2, 2018 · 1 comment
Closed

include always strips preceeding newlines #69

drahnr opened this issue Apr 2, 2018 · 1 comment

Comments

@drahnr
Copy link
Contributor

drahnr commented Apr 2, 2018

The file test.yml

smth

is included by main.yml:

x:

{% include "test.yml"}

ends up in

x: smth

where it should be

x:

smth

unless I am mistaken.

@djc
Copy link
Owner

djc commented Apr 2, 2018

Hey, thanks for the report with actionable test case!

Looks like I managed to mess up the whitespace handling on include blocks. c023c35 should fix it, let me know if it works for you!

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

No branches or pull requests

2 participants