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
children.match is not a function when using HTML entity numbers inside <code> inside markdown table #15359
Comments
I'm seeing this, but I'm not sure the exact pattern of what causes it. We don't have any HTML entity numbers, but we are seeing it when using a Hopefully that helps narrow down the issue somehow :-) |
I don't have time to test it, but I think making children optional here might fix the issue |
For some reason these <code> elements cause an error 'children.match is not a function' and prevent the page from rendering. Might be related to storybookjs/storybook#15359. I don't have time to find a fix for this, so I'm just switching to <span>s for now.
For some reason these <code> elements cause an error 'children.match is not a function' and prevent the page from rendering. Might be related to storybookjs/storybook#15359. I don't have time to find a fix for this, so I'm just switching to <span>s for now.
Egads!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.0-beta.4 containing PR #15492 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Describe the bug
When using an HTML entity number inside a
<code>
element inside a markdown table the storybook crashes withUncaught TypeError: children.match is not a function at Code
To Reproduce
GitHub Repo: https://github.com/netcoding87/storybook-html-entity
System
Additional context
This problem arose with updating from 6.2.9 to 6.3.0
The text was updated successfully, but these errors were encountered: