From 393a889aaceb761f058b09a701f889fa8f8b4e64 Mon Sep 17 00:00:00 2001 From: Thomas Aylott Date: Tue, 17 Dec 2013 05:07:49 -0500 Subject: [PATCH] fixes ReactTextComponent rootID unescapedness --- src/core/ReactTextComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ReactTextComponent.js b/src/core/ReactTextComponent.js index 24c07bd704ebf..b087afaded798 100644 --- a/src/core/ReactTextComponent.js +++ b/src/core/ReactTextComponent.js @@ -58,7 +58,7 @@ mixInto(ReactTextComponent, { mountComponent: function(rootID) { ReactComponent.Mixin.mountComponent.call(this, rootID); return ( - '' + + '' + escapeTextForBrowser(this.props.text) + '' );