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
Describe the bug
The endif tag is removed by the formater when i press ctrl + shift + i to format on vs code.
To Reproduce
Steps to reproduce the behavior:
make a twig or html (configured as twig file) and put this in:
<a class="nav-link" {% if m.href is defined %} href="{{ m.href }}" {% endif %} {% if m.id is defined %} id="{{m.id}}" {% endif %}>
<i class="fa fa-icon"></i>
<p>{{ m.label }}</p>
</a>
Expected behavior
to not make anything
Actual
<a class="nav-link" {% if m.href is defined %} href="{{ m.href }}" {% endif %} {% if m.id is defined %} id="{{m.id}}">
<i class="fa fa-icon"></i>
<p>{{ m.label }}</p>
</a>
Error/Stack Traces
it just removes the second endif tag
System (please complete the following information):
Describe the bug
The endif tag is removed by the formater when i press ctrl + shift + i to format on vs code.
To Reproduce
Steps to reproduce the behavior:
make a twig or html (configured as twig file) and put this in:
Expected behavior
to not make anything
Actual
Error/Stack Traces
it just removes the second endif tag
System (please complete the following information):
Additional context
.unibeautifyrc.json config file:
The text was updated successfully, but these errors were encountered: