Fix dangerouslySetInnerHTML

This commit is contained in:
Christopher Chedeau
2013-06-19 00:09:02 -06:00
parent 2be67a457c
commit 0980032b02

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