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

respect '-' in tags to eliminate whitespace #89

Merged
merged 5 commits into from
Nov 18, 2016
Merged

Conversation

boulter
Copy link
Contributor

@boulter boulter commented Nov 16, 2016

{% for foo in [1,2,3] -%}
  {{ foo }}
{%- endfor %}

now produces 1,2,3, eliminating whitespace chars after or before the tag.

Fixes #86

@pfarrel @lcmartinez @bgoodies @derkork

@boulter boulter merged commit 11de33c into master Nov 18, 2016
@boulter boulter deleted the whitespace-control branch November 18, 2016 03:00
@pfarrel
Copy link
Contributor

pfarrel commented Nov 18, 2016

👍

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.

3 participants