Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Fix printing of JSX in binary expressions. #377

Merged
merged 1 commit into from
Apr 10, 2021
Merged

Fix printing of JSX in binary expressions. #377

merged 1 commit into from
Apr 10, 2021

Conversation

IwanKaramazow
Copy link
Contributor

The following snippet:

<Kbd keycap="Ctrl" /> + <Kbd keycap="Shift" /> + <Kbd keycap />

would print in the non-sugared JSX form.

Nested binary expressions should print JSX correctly.

Fixes #373

The following snippet:
```
<Kbd keycap="Ctrl" /> + <Kbd keycap="Shift" /> + <Kbd keycap />
```
would print in the non-sugared JSX form.

Nested binary expressions should print JSX correctly.

Fixes #373
@IwanKaramazow IwanKaramazow merged commit e70b3c9 into master Apr 10, 2021
@IwanKaramazow IwanKaramazow deleted the gh373 branch April 10, 2021 10:30
IwanKaramazow added a commit that referenced this pull request Apr 10, 2021
The following snippet:
```
<Kbd keycap="Ctrl" /> + <Kbd keycap="Shift" /> + <Kbd keycap />
```
would print in the non-sugared JSX form.

Nested binary expressions should print JSX correctly.

Fixes #373
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSX gets desugared between multiple infixes
1 participant