mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fix dangerouslySetInnerHTML
This commit is contained in:
@@ -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 · Second'}} />
|
||||
<div dangerouslySetInnerHTML={{'{{'}}__html: 'First · Second'}} />
|
||||
```
|
||||
|
||||
## Comments
|
||||
|
||||
Reference in New Issue
Block a user