Skip to content

Fix multi-line highlighting

Jacques Erasmus requested to merge 436949-fix-multi-line-highlighting into master

What does this MR do and why?

Fixes highlighting of line number ranges

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-02-21_at_11.42.45 Screenshot_2024-02-21_at_11.43.00

How to set up and validate locally

  1. Open a source code file via the repository files browser
  2. Add a line range hash to the URL (e.g. #L67-100)
  3. Refresh the page
  4. The line range should be highlughted

Related to #436949 (closed)

Edited by Jacques Erasmus

Merge request reports