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

The formatter does not recognize some unclosed tags #81

Open
julien-langlois opened this issue Sep 2, 2021 · 0 comments
Open

The formatter does not recognize some unclosed tags #81

julien-langlois opened this issue Sep 2, 2021 · 0 comments

Comments

@julien-langlois
Copy link

julien-langlois commented Sep 2, 2021

I am currently working on a Drupal theme derived from the Bootstrap 3 theme. This one implements several tags in order to insert the different JavaScript and CSS.

result

However, the formatter does not recognize its tags and as they are not closed, it considers them as a new hierarchy and increments the following lines.

I saw that there was an option to override this via PrettyDiff but I don't feel like it works. Is there a way to make the formatter understand that these are special non-closing tags and that they should not be indented?

Expected result:

expected

Thanks.

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

No branches or pull requests

1 participant