vscode-blade-formatter
vscode-blade-formatter copied to clipboard
@json blade directive Bug
There is a bug with @json() directive.
For example
This is the expected code
@section('footer')
<script>
Object.assign(lang, @json([
'name' => __('name'),
'current' => __('current'),
]));
</script>
@endsection
Will be converted to this
@section('footer')
<script>
Object.assign(lang, @json([
'name' => __('name'),
'current' => __('current'),
]));
</script>
@endsection