-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
lang:angularIssues affecting Angular template (not general JS/TS issues used for Angular)Issues affecting Angular template (not general JS/TS issues used for Angular)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Prettier 2.8.2
Playground link
Input:
<app-test/>
Output:
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 | <app-test/>
| ^^^^^^^^^
2 |
Expected behavior:
In Angular 15.1.0 developers are allowed to use self closed tags for custom elements angular/angular#48535
Prettier should support this feature
dziukers, j-zielinski, fmad89, mokosa, nabihnadhif and 5 more
Metadata
Metadata
Assignees
Labels
lang:angularIssues affecting Angular template (not general JS/TS issues used for Angular)Issues affecting Angular template (not general JS/TS issues used for Angular)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.