-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Open
Description
Describe the bug
Self-closing tags are supported in Angular templates since v16. .
Before
<hello-world></hello-world>After
<hello-world />Reproduction link
Reproduction steps
- Open any Angular Docs page with [Show code]
- Click [Show code]
Expected: examples should be rendered as self-closing
Actual: examples show with a separate closing tag
System
Storybook Environment Info:
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
Binaries:
Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD <----- active
Browsers:
Edge: Chromium (134.0.3124.68)
npmPackages:
@storybook/addon-docs: ^10.0.5 => 10.0.5
@storybook/angular: ^10.0.5 => 10.0.5
storybook: ^10.0.5 => 10.0.5Additional context
No response
dosubot