Browse Source

Change 'Javascript' to 'JavaScript'

main
Kohei TAKATA 10 years ago
parent
commit
f3460f0b52
  1. 2
      docs/02.3-jsx-gotchas.md

2
docs/02.3-jsx-gotchas.md

@ -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 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.
```javascript
<div>{'First · Second'}</div>

Loading…
Cancel
Save