Skip to content

Fix hash highlighting for .json files

Nataliia Radina requested to merge 420778-fix-line-highlihting into master

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

  1. Enable :highlight_js_worker FF (when disabled bug is not reproducable)
  2. Go to any .json file
  3. Select any line
  4. 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.

Related to #420778 (closed)

Merge request reports