-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Copy link
Labels
lang:handlebarsIssues affecting Handlebars (Glimmer)Issues affecting Handlebars (Glimmer)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.7.1
Playground link
Input:
<div />
<custom-component />Output:
<div></div>
<custom-component></custom-component>Expected behavior:
<div />
<custom-component />Ember allows for self-closing tags (see docs), but prettier with the glimmer parser adds closing tags instead. I'm not sure if this was a conscious decision, because the JSX parser does convert closing tags.
Metadata
Metadata
Assignees
Labels
lang:handlebarsIssues affecting Handlebars (Glimmer)Issues affecting Handlebars (Glimmer)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.