We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48af9c7 commit 94a9a3eCopy full SHA for 94a9a3e
src/core/ReactTextComponent.js
@@ -65,7 +65,7 @@ mixInto(ReactTextComponent, {
65
mountDepth
66
);
67
return (
68
- '<span ' + ReactMount.ATTR_NAME + '="' + rootID + '">' +
+ '<span ' + ReactMount.ATTR_NAME + '="' + escapeTextForBrowser(rootID) + '">' +
69
escapeTextForBrowser(this.props.text) +
70
'</span>'
71
0 commit comments