@samitouri / QOS-React-2 / commits / ea5e13893e
Fork 0

The library for web and native user interfaces.

Fix dangerouslySetInnerHTML

Christopher Chedeau committed Jun 19, 2013 at 00:09 UTC ea5e13893e320f640c2061ce8e09729d44ad23a9
1 file changed +1 -1
docs/docs/jsx-is-not-html.md
+1 -1
@@ -55,7 +55,7 @@ You can use mixed arrays with strings and JSX elements.
55 As a last resort, you always have the ability to insert raw HTML.
56
57 ```javascript
58 -<div dangerouslySetInnerHTML={{__html: 'First &middot; Second'}} />
58 +<div dangerouslySetInnerHTML={{'{{'}}__html: 'First &middot; Second'}} />
59 ```
60
61 ## Comments