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

`@if` inside string #51

Closed zepfietje closed 1 year ago

zepfietje commented 1 year ago

Filament date-time-picker.blade.php (on 2.x). For context: we're planning to add the formatter to 2.x first and then merge into 3.x, ignoring conflicts and running the formatter again.

Screenshot 2023-05-31 at 16 08 11
JohnathonKoster commented 1 year ago

The internal placement algorithm has been refactored in 1.4.6, and will no longer add these extra spaces when inlined inside HTML elements (<element [directive] />) or within HTML parameters (<element param="[directive]" />).

zepfietje commented 1 year ago

Perfect.