Closed chocolateboy closed 7 years ago
Is there a reason why there are multiple end tags rather than simply using end? i.e. instead of:
end
<ol> {% for todos %} <li> {% if complete %} <del>{{ text }}</del> {% else %} <em>{{ text }}</em> {% endif %} </li> {% endfor %} </ol>
- why not:
<ol> {% for todos %} <li> {% if complete %} <del>{{ text }}</del> {% else %} <em>{{ text }}</em> {% end %} </li> {% end %} </ol>
?
Are there any plans to migrate to a single end tag, or any interest in a pull request to do so?
Seems to be inspired by PHP's endif :)
endif
Imo makes reading easier.
Imo makes reading easier. Agree.
No plans for migrating to "end". Sorry.
Is there a reason why there are multiple end tags rather than simply using
end
? i.e. instead of:- why not:
?
Are there any plans to migrate to a single end tag, or any interest in a pull request to do so?