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

Support else and end tags without repeating model path #6

Open
ImrePyhvel opened this issue Feb 10, 2016 · 0 comments
Open

Support else and end tags without repeating model path #6

ImrePyhvel opened this issue Feb 10, 2016 · 0 comments

Comments

@ImrePyhvel
Copy link
Collaborator

For example:
[[if (ConditionA)]] A is here [[ endif(ConditionA) ]]
should be able to be written as
[[if (ConditionA)]] A is here [[ endif ]]
or
[[if (ConditionA)]] A is here [[ end ]].

The universal end/else markers could apply to closest unclosed if/loop scope.

This will be possible once the better parser is released.

@ImrePyhvel ImrePyhvel changed the title Support else and end tags without repeating model Support else and end tags without repeating model path Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant