@samitouri / QOS-React-2 / commits / 6f305505a7

Remove old whitespace doc warning

This was fixed by #480.

Ben Alpert committed Feb 13, 2014 at 01:36 UTC 6f305505a79732a212e425078efcd28f908985d3
1 file changed -11
docs/docs/02.2-jsx-gotchas.md
-11
@@ -13,17 +13,6 @@ JSX looks like HTML but there are some important differences you may run into.
13 >
14 > For DOM differences, such as the inline `style` attribute, check [here](/react/docs/dom-differences.html).
15
16 -## Whitespace Removal
17 -
18 -JSX doesn't follow the same whitespace elimination rules as HTML. JSX removes all whitespace between two curly braces expressions. If you want to have whitespace, simply add `{' '}`.
19 -
20 -```javascript
21 -<div>{this.props.name} {' '} {this.props.surname}</div>
22 -```
23 -
24 -Follow [Issue #65](https://github.com/facebook/react/issues/65) for discussion on this behavior.
25 -
26 -
16 ## HTML Entities
17
18 You can insert HTML entities within literal text in JSX: