Skip to content

Fix multi-line syntax highlighting

What does this MR do?

This MR fixes multi-line syntax highlighting in the code views. HTML span elements only apply to a single line, and in the case of multi-line comments, the highlighting was dropped as a result. Ensure that each line has the proper styling to fix this.

Why was this MR needed?

The current styling was broken for a while.

Screenshots

Before:

image

After:

image

What are the relevant issue numbers?

Closes #1577 (closed) Closes #1495 (closed)

Merge request reports