Fix hash highlighting for .json files
What does this MR do and why?
Fix hash highlighting for .json files
Changelog: fixed
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen_Recording_2023-08-07_at_19.07.50 | Screen_Recording_2023-08-07_at_19.06.36 |
How to set up and validate locally
- Enable :highlight_js_worker FF (when disabled bug is not reproducable)
- Go to any .json file
- Select any line
- Refresh page and make sure that the line is still selected
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #420778 (closed)