angular-template-formatter icon indicating copy to clipboard operation
angular-template-formatter copied to clipboard

Formatting component tags without a closing tag

Open inmativ opened this issue 1 year ago • 1 comments

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.

inmativ avatar Jun 07 '23 07:06 inmativ

+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

ryanknittel-fdx avatar Apr 22 '24 23:04 ryanknittel-fdx