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

Incorrect indentation in blade templates #1292

Closed
danipardo opened this issue Dec 19, 2023 · 4 comments
Closed

Incorrect indentation in blade templates #1292

danipardo opened this issue Dec 19, 2023 · 4 comments
Labels

Comments

@danipardo
Copy link

When I indent a blade.php file, the indentation is broken:

image

If I switch to html-mode though, it gets better:

image

@fxbois fxbois closed this as completed Dec 19, 2023
@fxbois fxbois added the blade label Dec 26, 2023
@cweiske
Copy link

cweiske commented Mar 18, 2024

How was this fixed? I don't see any explanation or referenced commit.

I also experienced this with 20231225.1458, while the update to 20240315.1838 fixed it.

@danipardo
Copy link
Author

This ticket got closed without any comment or explanation, so I was left without a clue. But last week, I tried with a blank .emacs.d configuration, installed web-mode, and the indentation worked correctly and much faster than before.
So the only thing I can suggest is to check your config, maybe there are other modules that are interfering?

@fxbois
Copy link
Owner

fxbois commented Mar 18, 2024

The commit is this one
10f1269

@cweiske
Copy link

cweiske commented Mar 18, 2024

Thanks - this was apparently the same problem as #1300.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants