Closed
Description
React version 0.8.0
"<tag></tag>normal text <tag/> normal text <tag>red</tag> normal text"
become
"<tag></tag>normal text <tag> normal text <tag>red</tag> normal text</tag>"
in DOM.
"normal text" should not be red in the following example.
var NullTag = React.createClass({
render: function() {
html="<tag></tag>normal text <tag/> normal text <tag>red</tag> normal text";
return React.DOM.div( {dangerouslySetInnerHTML:{__html: html}} )
}
});
Metadata
Metadata
Assignees
Labels
No labels