Accidental collisions of HTML and math
One of the reasons why the $
-syntax for math is an impractical choice is that the entire toolchain has to be made aware of it. Here's a number of legitimate math expressions that look like HTML to a parser/sanitizer, and GitLab incorrectly treats them as such:
$a <b > c$
<!--Terminate the (false) bold tag-->
</b>
$[(a+b)c](d+e)$
${a}_b c_{d}$
Output:
$a c$
$(a+b)c$
${a}b c{d}$
Screenshot (Nov 2023):
The backticked syntax doesn't have these problems.
See also my survey for comparison with other services.