Ember handlebars formatting doesn't allow for self-closing tags #13624
Labels
lang:handlebars
Issues affecting Handlebars (Glimmer)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:enhancement
A potential new feature to be added, or an improvement to how we print something
Prettier 2.7.1
Playground link
Input:
Output:
Expected behavior:
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.The text was updated successfully, but these errors were encountered: