Skip to content

respect '-' in tags to eliminate whitespace#89

Merged
boulter merged 5 commits into
masterfrom
whitespace-control
Nov 18, 2016
Merged

respect '-' in tags to eliminate whitespace#89
boulter merged 5 commits into
masterfrom
whitespace-control

Conversation

@boulter

@boulter boulter commented Nov 16, 2016

Copy link
Copy Markdown
Contributor
{% 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

pfarrel commented Nov 18, 2016

Copy link
Copy Markdown
Contributor

👍

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