dillon1000/react

Commit

Don't execute <script> tags w/ createElement mode

Each script will execute at most once so we could also set `.textContent` to something like `;`, then add it to the document, then change the `.textContent`, but this seems like the simplest approach. See http://dev.w3.org/html5/spec-preview/the-script-element.html for details.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/shared/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…