dillon1000/react

Commit

Don't double-escape style names

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
Browse files
Changed paths2 files
First-parent comparison
M src/browser/ui/__tests__/ReactDOMComponent-test.js ModifiedM src/browser/ui/dom/CSSPropertyOperations.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…