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

Not expected parenthesis bug #31

Open
OnkelTem opened this issue Sep 8, 2015 · 1 comment
Open

Not expected parenthesis bug #31

OnkelTem opened this issue Sep 8, 2015 · 1 comment
Labels

Comments

@OnkelTem
Copy link

OnkelTem commented Sep 8, 2015

This simple template:

div
  if tabs
    div
  != myvar

generates:

<div><?php if ($tabs) : ?><div></div><?php endif ?>(<?= $myvar ?>)</div>

— note the parenthesis around <?= $myvar ?>.

Changing it to either

div
  if tabs
    div
  div!= myvar

or

div
  if tabs
    div
  | 
  != myvar

(whitespace goes after |) — removes the parenthesis.

@janwirth
Copy link
Collaborator

Pull requests are welcome :)

@janwirth janwirth added the bug label Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants