[Formatting Bug]: @elsecan blade directive is ignored
lrakauskas opened this issue · comments
Lukas commented
Platform
Windows
Template before formatting
<html>
<head></head>
<body>
@can('test')
a
@elsecan
b
@endcan
</body>
</html>
Template after formatting
<html>
<head></head>
<body>
@can('test')
a
@elsecan
b
@endcan
</body>
</html>
Expected Behaviour
@elsecan
should be aligned together with whole @can
block. Currently it's treated as regular text
<html>
<head></head>
<body>
@can('test')
a
@elsecan
b
@endcan
</body>
</html>
Relevant log output
No response
Lukas commented
Nevermind, @elsecan
is wrong syntax, it's supposed to be @elsecan('xxx')
which works just fine :)