Skip to content

Closing Tag does not work inside a component template #54413

@secorrenti

Description

@secorrenti

Which @angular/* package(s) are the source of the bug?

compiler

Is this a regression?

No

Description

This not work as expected :-(
Note, this make a compilation error (Because there is a un-espective closure of a tag inside component)

<cib-user-card-management-new-card-message>
  <cib-user-card-management-new-card-message-details />
</cib-user-card-management-new-card-message>
`
.
.
.

Like this
This work as expected :-)
(Because there is no closing of a tag)
```
<cib-user-card-management-new-card-message>
  <cib-user-card-management-new-card-message-details>
    
  </cib-user-card-management-new-card-message-details>
</cib-user-card-management-new-card-message>
`

### Version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 17.0.3
Node: 18.13.0
Package Manager: npm 8.19.3
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1700.3 (cli-only)
@angular-devkit/core         17.0.3 (cli-only)
@angular-devkit/schematics   17.0.3 (cli-only)
@schematics/angular          17.0.3 (cli-only)


### Anything else?

I LOVE YOU ANGULAR TEAM!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions