Stillat / blade-parser-typescript

A Laravel Blade parser, compiler, and static analyzer written in TypeScript.
https://stillat.com
MIT License
90 stars 3 forks source link

Indentation issue #50

Closed zepfietje closed 1 year ago

zepfietje commented 1 year ago

Filament 2.x packages/forms/resources/views/components/actions/action.blade.php

Lines after $wireClickAction inside @php get indented wrongly.

JohnathonKoster commented 1 year ago

Pint will now receive the original internal content and whitespace as of 1.4.6 (with a general solution to handle other edge cases released in 1.4.7) for formatting inside PHP regions. Having the first line outdented too much will cause inconsistent results. Test suite adjusted to account for this 👍

zepfietje commented 1 year ago

Nice, fixed indeed.