Closing Brackets in javascript (jsx or ES6) are highlighted incorrectly in a Diff

Summary

Closing Brackets in javascript (jsx or ES6) are highlighted in red when looking at a Diff (Changes) even when they are not part of the diff, such as when reviewing a merge request.

A specific example is a <Tag> in a react-native project. The > is incorrectly highlighted red.

Steps to reproduce

check in a javascript component, such as a react native component written in ES6 to master branch. Make a change that doesn't involve changing the <View> tag to a feature branch. open merge request to merge feature to master.

From merge request, review diffs via the "Changes" tab

Example Project

Using gitlab.com (not self hosted)

What is the current bug behavior?

highlights a > in red

gitlab-highlight

What is the expected correct behavior?

highlight only changes in diff. > should be black.

Relevant logs and/or screenshots

attached

Output of checks

Gitlab.com

Results of GitLab environment info

NA

Results of GitLab application Check

na

Possible fixes

na