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 #29

Closed zepfietje closed 1 year ago

zepfietje commented 1 year ago

Input

<div>
    <span @class([
        'some classes',
    ])>
        {{ $foo }}
    </span>
</div>

Output

<div>
    <span @class([
    'some classes',
])>
        {{ $foo }}
    </span>
</div>

Would expect input to remain unchanged.

JohnathonKoster commented 1 year ago

Improved in 1.1.9 with test coverage 🎉

zepfietje commented 1 year ago

Awesome!