dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/shared/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…