-
Notifications
You must be signed in to change notification settings - Fork 39
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle single quote in stories? #31
Comments
Interesting. Do you think you could share this as a failing test in a PR on this repo? |
this repo: What do you mean by failing test? I can create a PR with failing story. |
@jonspalmer I've created a PR with failing story: jonspalmer/view_component_storybook_example#14 |
Thanks for the PR. Turns out this is a bug in Storybook Server. I'll need to add the fix for that and figure out what the release vehicle looks like there. |
This is fixed as of the changes in Storybook |
Hi
Thanks a lot for your library, which is very useful for a React developer, newly involved into a Rails project 馃檹
I'm facing an issue with single quote escaping... Which I was able to reproduce with the
https://github.com/jonspalmer/view_component_storybook_example
project (and mine obviously)When I try to add a single quote character as an example for the
title
attribute of theTestComponent
like this:I got an error into my console:
which show, in an obvious way, an escape issue around
'
character.I'm wondering how to handle it?
The text was updated successfully, but these errors were encountered: