You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and indent the whole file (C-x h C-M-\). The result is as follows:
<img>
{% block foo %}{% endblock %}
<img>
with the second <img> incorrectly indented. This is because pony-calculate-indent-backward recognizes that the {% block foo %} starts an indented block but does not recognize that the {% endblock %} closes that block.
The indentation calculation needs to look at all tags on a line, not just the first tag.
The text was updated successfully, but these errors were encountered:
Open the following template in
pony-tpl-mode
:and indent the whole file (
C-x h C-M-\
). The result is as follows:with the second
<img>
incorrectly indented. This is becausepony-calculate-indent-backward
recognizes that the{% block foo %}
starts an indented block but does not recognize that the{% endblock %}
closes that block.The indentation calculation needs to look at all tags on a line, not just the first tag.
The text was updated successfully, but these errors were encountered: