Merge pull request #3419 from xmo-odoo/patch-1

Link to inserting raw HTML document
This commit is contained in:
Paul O’Shannessy
2015-03-16 13:22:33 -07:00

View File

@@ -46,7 +46,7 @@ You can use mixed arrays with strings and JSX elements.
<div>{['First ', <span>&middot;</span>, ' Second']}</div>
```
As a last resort, you always have the ability to [insert raw HTML](/react/docs/dom-differences.html).
As a last resort, you always have the ability to [insert raw HTML](/react/tips/dangerously-set-inner-html.html).
```javascript
<div dangerouslySetInnerHTML={{'{{'}}__html: 'First &middot; Second'}} />