Weird indentation happening in blade files. I purchased a license, hoping that whould fix it, but not. So, I'm here looking for help. This is the code before phptools to apply the auto-format/indentation:

If I select-all-text, cut, and then paste it, the auto format/indentation is applied, but this is how the format looks:

    Hello Stuardo,

    Thank you very much for letting us know about this. We're going to take a look at it and fix it ASAP. I will let you know.

    Thanks!

      Just a note. For now, the issue can be workarounded by using blade directives instead of php:

      @section('content')
      @if (true):
      
          <p>TRUE</p>
      
      @else
          <p>FALSE</p>
          <ul>
              @foreach ($array as $foo => $bar)
                  <li>foreach</li>
              @endforeach
      @endif
      </ul>
      @endsection

      Thank you!

        Write a Reply...