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

Unbreakable multiline inside `@if` #40

Closed zepfietje closed 1 year ago

zepfietje commented 1 year ago
@if (filament()->hasRegistration())
    <x-slot name="subheading">
        {{ __('filament::pages/auth/login.buttons.register.before') }}
        {{ $this->registerAction }}
    </x-slot>
@endif
@if (filament()->hasRegistration())
        <x-slot name="subheading">
            {{ __('filament::pages/auth/login.buttons.register.before') }}
            {{ $this->registerAction }}
        </x-slot>
@endif
JohnathonKoster commented 1 year ago

Improved in 1.1.18 🙂

zepfietje commented 1 year ago

Awesome!