fixes ReactTextComponent rootID unescapedness
Thomas Aylott committed
Dec 17, 2013 at 05:07 UTC
7f3d4f0340e3df266ae0434662d6650fa9eedbd7
1 file changed
+1
-1
src/core/ReactTextComponent.js
+1
-1
@@ -65,7 +65,7 @@ mixInto(ReactTextComponent, {
65
mountDepth
66
);
67
return (
68
- '<span ' + ReactMount.ATTR_NAME + '="' + rootID + '">' +
68
+ '<span ' + ReactMount.ATTR_NAME + '="' + escapeTextForBrowser(rootID) + '">' +
69
escapeTextForBrowser(this.props.text) +
70
'</span>'
71
);