Fix dangerouslySetInnerHTML

This commit is contained in:
Christopher Chedeau
2013-06-19 00:09:02 -06:00
committed by Paul O’Shannessy
parent 267c97b14f
commit 376045b401
+1 -1
View File
@@ -55,7 +55,7 @@ You can use mixed arrays with strings and JSX elements.
As a last resort, you always have the ability to insert raw HTML.
```javascript
<div dangerouslySetInnerHTML={{__html: 'First &middot; Second'}} />
<div dangerouslySetInnerHTML={{'{{'}}__html: 'First &middot; Second'}} />
```
## Comments