Skip to content

Fix multi-line comments highlighting (highlight.js)

Jacques Erasmus requested to merge 358793-hljs-plugin-comments into master

What does this MR do and why?

Fixes the multi-line comments highlighting issue when highlighting with highlight.js

changes in this MR are behind the highlight_js feature flag.

Screenshots or screen recordings

before after
Screenshot_2022-05-20_at_14.19.44 Screenshot_2022-05-20_at_14.20.02

How to set up and validate locally

  1. Enable the highlight_js feature flag
  2. Open a file containing multi-line comments

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