Skip to content

Fix syntax highlighting on the commit view page

What does this MR do and why?

Fixes syntax highlight regression after Completely remove jQuery from GFM (!107218 - merged). (Slack thread, internal)

Commit view page is missing syntax highlight after the jQuery removal. This MR adds a manual highlight trigger.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Open any commit view page (example)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading