types.pl icon indicating copy to clipboard operation
types.pl copied to clipboard

Inline latex gets triggered by $ ... $ , causing a lot of unintentional latex

Open 1e1001 opened this issue 4 years ago • 1 comments

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

  1. open a post with at least two dollar signs in it (like this one i made)
  2. it renders like: test post testpost test post
  3. 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)

1e1001 avatar Dec 15 '21 03:12 1e1001

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

ionathanch avatar Nov 24 '22 19:11 ionathanch