mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Merge pull request #5655 from adraeth/patch-1
Correct highlight in tutorial7.js snippet
This commit is contained in:
@@ -248,7 +248,7 @@ But there's a problem! Our rendered comments look like this in the browser: "`<p
|
||||
|
||||
That's React protecting you from an [XSS attack](https://en.wikipedia.org/wiki/Cross-site_scripting). There's a way to get around it but the framework warns you not to use it:
|
||||
|
||||
```javascript{4,14}
|
||||
```javascript{3-6,14}
|
||||
// tutorial7.js
|
||||
var Comment = React.createClass({
|
||||
rawMarkup: function() {
|
||||
|
||||
Reference in New Issue
Block a user