Skip to content

< and > symbols making latex code not being rendered

Summary

When you include the "less than" symbol < or the "greater than" symbol > in a latex environment the whole environment does not render.

Steps to reproduce

Just write some latex code including these symbols. Like so:

  • a < b
  • a < b
  • a > b
  • a > b

What is the current bug behavior?

Code with < and > symbols inside latex environment:

  • a < b
  • a < b
  • a > b
  • a > b

Code with "less or equal than" and "greater or equal than" symbols:

  • a \leq b
  • a \leq b
  • a \geq b
  • a \geq b

What is the expected correct behavior?

No need to explain further, expected correct behaviour is the latex code being rendered properly when using < or >.

Edited by 🤖 GitLab Bot 🤖