Gitlab Community Edition Instance

Skip to content

Incorrect displaying of lines with angle brackets

Summary

Steps to reproduce

Login to the cs1-weekly exercise instance and filter for the label "Grady Bug"

What is the current bug behavior?

When having markdown submissions, it appears that lines with closing angle brackets (<) break the HTML. This happens especially when using for loops. It seems like the browser is interpreting the closing bracket as a closing HTML tag, thus ending the line.

Possible Fixes

Let highlight.js process the input with the plaintext option.