blade-formatter
blade-formatter copied to clipboard
[Formatting Bug]: Wrong indent
Version
1.41.1
Template before formatting
@if ($i >= 1)
@break
@endif
Template after formatting
@if ($i >= 1)
@break
@endif
Expected Behaviour
It should keep the @break indented and not remove an indentation for the @endif.
As the following code using a variable works just fine
@if ($i >= 1)
{{ $var }}
@endif
Relevant log output
No response
Looks like it's also the same as #912 as well, maybe a global prevent would be nice
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Still an issue
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Still an issue
@QuentiumYT Sorry for late reply. This issue is fixing in #977.