facebook/react — pull request #2313 by sebmarkbage (2014-10-09 05:39:14+00:00)
Title: Sanitize the string tag passed to DOM components

Because we're using innerHTML to generate DOM Elements, we need to make sure that the tag is sane and doesn't try to do injection.

This wouldn't be an issue if we used document.createElement instead.