Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Highlighting: void with jsx #274

Closed
kjs3 opened this issue Aug 4, 2016 · 1 comment
Closed

Syntax Highlighting: void with jsx #274

kjs3 opened this issue Aug 4, 2016 · 1 comment

Comments

@kjs3
Copy link

kjs3 commented Aug 4, 2016

This line in the react codebase breaks highlighting.

void <div>{[<span />]}</div>;
// everything from the "</" on is messed up 
zertosh added a commit that referenced this issue Nov 28, 2016
@zertosh
Copy link
Member

zertosh commented Nov 28, 2016

Just added a test for this to catch it in the re-write. See "re-rewrite babel-sublime" #293.

@zertosh zertosh closed this as completed Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants