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

Fix incorrect element output being created by StyleTags #1580

Merged
merged 4 commits into from Mar 6, 2018

Conversation

kitten
Copy link
Member

@kitten kitten commented Mar 6, 2018

Fixes #1579

@kitten kitten requested review from quantizor and mxstbr March 6, 2018 22:47
quantizor
quantizor previously approved these changes Mar 6, 2018
Copy link
Contributor

@quantizor quantizor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-_- but makes sense

@kitten
Copy link
Member Author

kitten commented Mar 6, 2018

@probablyup updated the snapshots and added some dumb invariants that'll stop this from happening again 😅

@quantizor
Copy link
Contributor

Can we add a test that contains one of the characters in question?

@kitten
Copy link
Member Author

kitten commented Mar 6, 2018

@probablyup I originally did and was very confused, because it turns out that enzyme / the test renderer / dunno doesn't apply the same url encoding that React does

@kitten kitten merged commit 4b7fca4 into master Mar 6, 2018
@kitten kitten deleted the fix/incorrect-element-ssr branch March 6, 2018 23:35
@jowy
Copy link

jowy commented Mar 7, 2018

3.2.1 soon? 🍻

@kitten
Copy link
Member Author

kitten commented Mar 7, 2018

@jowy yep, pending #1577

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

3 participants