vscode-blade-formatter icon indicating copy to clipboard operation
vscode-blade-formatter copied to clipboard

@json blade directive Bug

Open jihad28 opened this issue 3 years ago • 0 comments

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

jihad28 avatar Sep 22 '22 11:09 jihad28