-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Accent in Meta's title break the doc page #29132
Comments
Same problem here. As a temporary workaround, I defined an id manually in my stories. const meta: Meta<ButtonComponent> = {
title: 'Example/Button with an "é" accent',
id: 'Example/Button with an eacute', // <---
// ...
} |
@vanessayuenn I want to work on this issue, can it be assigned to me? |
I also noticed this change in behavior when I upgraded a project from Storybook v7 to v8. |
I have tried creating a PR #30114 that just filters accent related characters from a story UID, based on @szantnerb's suggestion. |
Describe the bug
If accent are used in Meta's title, the doc page is broken, stories can't be retrieve from partial url.
If the title is :
'Example/Button with an "é" accent'
, I have the error :Error: NG05104: The selector "-accent--primary--primary-inner-1" did not match any elements. Find more at https://angular.dev/errors/NG05104
.Reproduction link
https://stackblitz.com/edit/github-uxwf7j?file=src%2Fstories%2Fbutton.stories.ts&preset=node
Reproduction steps
System
Additional context
I use on my project the version 8.3.0 but I also reproduce on stackblitz with the version 8.4.0-aplha.
The text was updated successfully, but these errors were encountered: