Skip to content
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

Pass code string as children when no highlighting is supplied #46

Merged
merged 8 commits into from
Dec 3, 2017
Merged

Pass code string as children when no highlighting is supplied #46

merged 8 commits into from
Dec 3, 2017

Conversation

Hypnosphi
Copy link
Member

@Hypnosphi Hypnosphi commented Nov 6, 2017

Issue: #26

When user didn't supply a highlighting option (in which case the escaping is done on the side of highlighting library), code string should be passed as children, so that React escapes it

@Hypnosphi Hypnosphi changed the title Escape code string when no highlighting is supplied Pass code string as children when no highlighting is supplied Dec 3, 2017
@Hypnosphi
Copy link
Member Author

Hypnosphi commented Dec 3, 2017

This also includes changes from #45 & #47

@Hypnosphi Hypnosphi merged commit d19a989 into storybookjs:master Dec 3, 2017
@Hypnosphi Hypnosphi deleted the escape-html branch December 3, 2017 23:14
@mAAdhaTTah
Copy link

Any chance of getting a release with this fix cut? Currently causing some issues w/ Markdown in Spectacle.

@Hypnosphi
Copy link
Member Author

Released as 6.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants