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 component tags without a closing tag #27

Open
inmativ opened this issue Jun 7, 2023 · 1 comment
Open

Formatting component tags without a closing tag #27

inmativ opened this issue Jun 7, 2023 · 1 comment

Comments

@inmativ
Copy link

inmativ commented Jun 7, 2023

In Angular 16, the closing tag for components has become optional. Angular-template-formatter formats nicely without a closing tag. But if the does not have a closing tag, then the file is not formatted.

@ryanknittel-fdx
Copy link

ryanknittel-fdx commented Apr 22, 2024

+1 for self-closing tag support which is a new feature in Angular 16

Once you add a self-closing tag to the template, this formatter stops working

https://deelde.medium.com/self-closing-tags-in-angular-16-2e50fde28aaf

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

2 participants