dillon1000/react

Commit

Fix Markup Rendering in IE

This fixes known browser bugs with rendering markup using `innerHTML` in IE ([[http://support.microsoft.com/kb/276228 | here is an example of one]]).

This is a subset of what `HTML` (and jQuery) does, and we should eventually consider pulling it out into a separate module to reduce code duplication. For now, this is the minimal set of changes needed to unbreak React in production.

We can afford to use a subset of what `HTML` does because we have the luxury of knowing that the markup is generated sanely with proper closing tags, etc.
Browse files
Changed paths4 files
First-parent comparison
M src/core/ReactNativeComponent.js ModifiedM src/dom/Danger.js ModifiedA src/dom/__tests__/Danger-test.js AddedM src/environment/__tests__/ReactServerRendering-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…