How to stop attempted K/LaTeX rendering of "$1 million" or "$100,000"

lol at myself. Here’s the solution in case anyone googles in the future.

text = text.replace(“$”, “$”)

edit: the blackslash escaped. put a backslash before the $.

1 Like