I am using MathJax with the following configuration:
window.MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] } };
As you can see, there is nothing fancy. I work really well and my inline math is correctly transformed.
My problem arise when I have sentences like With a total of twenty $25,000 USD prizes for US contestants and ten $30,000 CAD prizes for the Canucks in Phase 1 of the challenge
. As expected, the $25,000 USD prizes for US contestants and ten $
part is interpreted by MathJax. As you can imagine, it's not something I am looking for.
Knowing that I have no control on the content because it's inside a feed reader, is there some configuration I can use to escape that kind of strings or I am out of luck and there is nothing I can do?
https://stackoverflow.com/questions/65895759/how-to-let-currency-unmodified-with-mathjax January 26, 2021 at 12:06PM
没有评论:
发表评论