Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Formatting Bug]: #883

Open
Aryo07 opened this issue Nov 15, 2024 · 0 comments
Open

[Formatting Bug]: #883

Aryo07 opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Aryo07
Copy link

Aryo07 commented Nov 15, 2024

Platform

Windows

Template before formatting

@section('footer')
    <div class="float-right">
        Version: {{ config('app.version', '1.0.0') }}
    </div>

    <strong>
        <a href="{{ config('app.company_url', '#') }}">
            {{ config('app.company_name', 'My company') }}
        </a>
    </strong>
@stop

Template after formatting

@section('footer')
    <div class="float-right">
        Version: {{ config('app.version', '1.0.0') }}
    </div>

    <strong>
        <a href="{{ config('app.company_url', '{{ route('dashboard') }}') }}">
            {{ config('app.company_name', 'Made with ❤️ Company') }}
        </a>
    </strong>
@stop

Expected Behaviour

No response

Relevant log output

Parse Error : syntax error, unexpected 'dashboard' (T_STRING), expecting ')' on line 1 > 1 | <?php echo config('app.company_url', '{{ route('dashboard') ?> | ^
@Aryo07 Aryo07 added the bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants