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

Extra whitespace is added from previous line if it's an expression #56

Closed
johnhaley81 opened this issue Oct 8, 2014 · 0 comments
Closed

Comments

@johnhaley81
Copy link
Collaborator

If you have template:

  {%each%}
  {{i}}
   {%endeach%}

You'll end up appending the whitespace from the beginning of the {%each%] line onto each iteration of {{i}}

    1
    2
    3
    //...

It should strip out all whitespace from a line that solely consists of an expression.

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