Skip to content

Commit

Permalink
fixes ReactTextComponent rootID unescapedness
Browse files Browse the repository at this point in the history
  • Loading branch information
subtleGradient authored and zpao committed Dec 18, 2013
1 parent 48af9c7 commit 94a9a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ReactTextComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mixInto(ReactTextComponent, {
mountDepth
);
return (
'<span ' + ReactMount.ATTR_NAME + '="' + rootID + '">' +
'<span ' + ReactMount.ATTR_NAME + '="' + escapeTextForBrowser(rootID) + '">' +
escapeTextForBrowser(this.props.text) +
'</span>'
);
Expand Down

0 comments on commit 94a9a3e

Please sign in to comment.