Skip to content

Conversation

@sophiebits
Copy link
Collaborator

Previously we were escaping both in createMarkupForStyles and then in
createMarkupForProperty; now we escape only in the latter (otherwise the
hypothetical style name b&ckground would become b&ckground).

Test Plan: grunt fasttest

Previously we were escaping both in createMarkupForStyles and then in createMarkupForProperty; now we escape only in the latter (otherwise the hypothetical style name `b&ckground` would become `b&ckground`).

Test Plan: grunt fasttest
@syranide
Copy link
Contributor

syranide commented May 1, 2014

I guess this background: "url(ex.jpg?arg1&arg2)" is effectively broken today? (though uncommon so I doubt most would know)

@sophiebits
Copy link
Collaborator Author

No, only style names were double-escaped (not values).

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

zpao added a commit that referenced this pull request Jun 20, 2014
Don't double-escape style names
@zpao zpao merged commit f0fc42a into facebook:master Jun 20, 2014
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.

4 participants