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]: Added spaces around hypen even when string in quotes #813

Closed
myregistration opened this issue Jan 15, 2024 · 1 comment · Fixed by shufo/blade-formatter#900
Assignees
Labels
bug Something isn't working

Comments

@myregistration
Copy link

Platform

MacOS

Template before formatting

<livewire:account.messenger.listing :messengers="$messengers"
                                                    :key="messenger-index" />

Template after formatting

<livewire:account.messenger.listing :messengers="$messengers"
                                                    :key="messenger - index" />

Expected Behaviour

<livewire:account.messenger.listing :messengers="$messengers"
:key="messenger-index" />

Relevant log output

No response

@myregistration myregistration added the bug Something isn't working label Jan 15, 2024
@myregistration
Copy link
Author

If I use :wire:key instead of :key it doesn't add the spaces

<livewire:account.messenger.listing :messengers="$messengers"
                                                    :wire:key="messenger-index" />

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

Successfully merging a pull request may close this issue.

2 participants