Browse Source

Fix dangerouslySetInnerHTML

main
Christopher Chedeau 12 years ago
parent
commit
0980032b02
  1. 2
      docs/jsx-is-not-html.md

2
docs/jsx-is-not-html.md

@ -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. As a last resort, you always have the ability to insert raw HTML.
```javascript ```javascript
<div dangerouslySetInnerHTML={{__html: 'First &middot; Second'}} /> <div dangerouslySetInnerHTML={{'{{'}}__html: 'First &middot; Second'}} />
``` ```
## Comments ## Comments

Loading…
Cancel
Save