This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Shorthand jsx fragments break syntax highlighting #665
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
I'm unsure that any of the above apply as this is based on an issue I'm having with GitHub, not the atom client itself.
Description
When looking at a PR that includes jsx, syntax highlighting fails after a closing bracket for a shorthand jsx fragment is included.
Steps to Reproduce
- Create a PR with jsx changes including a shorthand jsx fragment (ie
<></>
) on GitHub - See that syntax highlighting for the jsx file fails after the ending bracket
Expected behavior:
Syntax highlighting should continue normally after the fragment shorthand
Actual behavior:
Syntax highlighting breaks after the fragment shorthand
Reproduces how often:
100%
Versions
Unsure, I was directed here from https://github.com/github/linguist#theres-a-problem-with-the-syntax-highlighting-of-a-file
Additional Information
N/A
Metadata
Metadata
Assignees
Labels
No labels