mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #5274 from SpartaSixZero/master
Corrected highlighted line in tutorial example in tutorial7.js
(cherry picked from commit 56c91248fd)
This commit is contained in:
@@ -260,7 +260,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,10}
|
||||
```javascript{4,14}
|
||||
// tutorial7.js
|
||||
var Comment = React.createClass({
|
||||
rawMarkup: function() {
|
||||
|
||||
Reference in New Issue
Block a user