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

Wrong `@if` content indentation #86

Closed zepfietje closed 11 months ago

zepfietje commented 12 months ago

Just found that in this place in the Filament codebase,  &ensp inside the @if statement gets indented too much. Replacing  &ensp with foo does fix it, though I can't reproduce in a new simple Blade view with just an @if statement.

https://github.com/filamentphp/filament/blob/ed469e2f6bcaddae8ff6a17c9debfb7188f5d788/packages/panels/resources/views/components/page/sub-navigation/select.blade.php#L25

JohnathonKoster commented 12 months ago

Thanks for the report (and congrats on Filament 3.1!)

I'll be looking into this later this week or early weekend 🙂

zepfietje commented 12 months ago

Thanks, John! No rush, and let me know if I can help somehow. 👍

JohnathonKoster commented 11 months ago

Resolved in 1.6.17

zepfietje commented 11 months ago

Confirmed, thanks!