types.pl
types.pl copied to clipboard
Inline latex gets triggered by $ ... $ , causing a lot of unintentional latex
Expected behaviour
content surrounded by $'s probably should be rendered normally
Actual behaviour
it gets rendered as inline latex, which removes the $'s and spaces, making it hard to read
Steps to reproduce the problem
- open a post with at least two dollar signs in it (like this one i made)
- it renders like: test post testpost test post
- it should probably render like test post $ test post $ test post
Specifications
types.pl: v3.4.1+types chromium: 96.0.4664.45 (arch linux)
LaTeX rendering on $s has been disabled for a while now so this issue no longer occurs, but eventually we do want to turn it back on such that having spaces won't trigger it (e.g. $20 to $30 shouldn't, but $20 - 30$ should), so I'm leaving this issue open with this comment