Merge pull request #4688 from lyip1992/patch-7

Update 02.3-jsx-gotchas.md
(cherry picked from commit cca1065183)
This commit is contained in:
Paul O’Shannessy committed 2015-08-25 09:56:12 -07:00
1 parent 7263473999
commit dc8c5b1ecf
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ If you want to display an HTML entity within dynamic content, you will run into
<div>{'First &middot; Second'}</div>
```
There are various ways to work-around this issue. The easiest one is to write unicode character directly in JavaScript. You need to make sure that the file is saved as UTF-8 and that the proper UTF-8 directives are set so the browser will display it correctly.
There are various ways to work-around this issue. The easiest one is to write unicode characters directly in JavaScript. You need to make sure that the file is saved as UTF-8 and that the proper UTF-8 directives are set so the browser will display it correctly.
```javascript
<div>{'First · Second'}</div>