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

Fix this indentation inference bug #184

Open
charlespwd opened this issue Apr 26, 2023 · 0 comments
Open

Fix this indentation inference bug #184

charlespwd opened this issue Apr 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@charlespwd
Copy link
Collaborator

Describe the bug
Indentation inference bug

Unformatted source

<details
  class="group/level-2"
  x-trap="getIsMobileNavItemActive('{{ link_forloop.index }}-{{ link_link_forloop.index }}')"
  @header-mobile-nav-items-active-change.window="
    () => mobileNavItemsActiveChangeEvent($event, '{{ link_forloop.index }}-{{ link_link_forloop.index }}')
  "
>
</details>

Expected output

<details
  class="group/level-2"
  x-trap="getIsMobileNavItemActive('{{ link_forloop.index }}-{{ link_link_forloop.index }}')"
  @header-mobile-nav-items-active-change.window="
    () => mobileNavItemsActiveChangeEvent($event, '{{ link_forloop.index }}-{{ link_link_forloop.index }}')
  "
>
</details>

Actual output

<details
  class="group/level-2"
  x-trap="getIsMobileNavItemActive('{{ link_forloop.index }}-{{ link_link_forloop.index }}')"
  @header-mobile-nav-items-active-change.window="
        () => mobileNavItemsActiveChangeEvent($event, '{{ link_forloop.index }}-{{ link_link_forloop.index }}')
  "
></details>
@charlespwd charlespwd added the bug Something isn't working label Apr 26, 2023
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

1 participant