# languages: Apply JSX fixes to JavaScript highlights \(\#47130\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2321178f2857ca06ad866981bd8ed0bf4215b5b7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2321178f2857ca06ad866981bd8ed0bf4215b5b7

Requested commit: 2321178f2857ca06ad866981bd8ed0bf4215b5b7

Commit: 2321178f2857ca06ad866981bd8ed0bf4215b5b7

Tree: 00135093f5c60a27206b480fd33dc3acc0e18e98

Author: Finn Evers

Committer: GitHub

## Message

```
languages: Apply JSX fixes to JavaScript highlights (#47130)

Closes #46701

This ports the fixes from #46442 over to the JavaScript highlights,
which we forgot to do in that PR since the highlights are not shareable
and the fix was only applied to TSX... Hence, porting the fixes here
manually to solve the issue for good.

Release Notes:

- Fixed an issue where JSX components were highlighted too broadly,
causing normal HTML tags to be highlighted as such
```

## Parents

- [e12dadd7da4bb7358806236ec8af6e7b897706ec](https://git.cafe/gitcafe/zed/commit/e12dadd7da4bb7358806236ec8af6e7b897706ec?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2321178f2857ca06ad866981bd8ed0bf4215b5b7?format=markdown)
