blade-parser-typescript icon indicating copy to clipboard operation
blade-parser-typescript copied to clipboard

The lines keep being indented to the right on every run

Open apih opened this issue 7 months ago • 3 comments

As per the sample, the lines in the @if statement will be indented to the right on every run. The weird thing is that it only happens to the first @if, but not the subsequent ones.

@section('head-mid')
    <!-- Facebook's Open Graph -->
    @if ($form->picture !== '')
-        <meta property="og:image" content="{{ $form->picture_url }}" />
-    @endif
+            <meta property="og:image" content="{{ $form->picture_url }}" />
+        @endif

    <!-- Twitter's Card -->
    @if ($form->picture !== '')
        <meta property="twitter:image" content="{{ $form->picture_url }}" />
    @endif
@endsection

apih avatar Jul 09 '24 09:07 apih