# Anki 2.1.56 Release Candidate

**URL:** <https://forums.ankiweb.net/t/anki-2-1-56-release-candidate/26001>\
**Category:** Beta Testing\
**Created:** [January 4, 2023, 11:28am UTC](https://forums.ankiweb.net/t/anki-2-1-56-release-candidate/26001 "2023-01-04T11:28:36Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![pwintz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pwintz/32/10112_2.png) [@pwintz](https://forums.ankiweb.net/u/pwintz)\
**Post date:** [January 10, 2023, 7:24pm UTC](https://forums.ankiweb.net/t/anki-2-1-56-release-candidate/26001/29 "2023-01-10T19:24:20Z")

</div>

Parts of MathJax equations are not rendering correctly. Here, the parentheses around “x” are missing

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/e3ccd101f4eabb4384fa758ea90a3edf59547226.png)

Even worse, when I move to the next card, press “undo”, then study the card again, this time the MathJax equation does not appear.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/2dcb5f029f41f304be9c5982a20dbb1c0d3a95c5.png)

I thought this might be related to the JavaScript I was using to define LaTeX macros, but the problem persists after I remove the script from my template. Note that the equation is rendered correctly in the Card Type window.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/ece1a1a9435c69518005bd382d49df5ad28b4118.png)

I have disabled all of my add-ons to make sure that they aren’t causing the problem.

**Edit:** This might have actually been related to the script I was using. It called ` MathJax.startup.getComponents();` several times. Changing the code to

```auto
if (typeof is_already_run == 'undefined') {
    is_already_run = true
    MathJax.startup.getComponents();
}

```

_and reopening the card study window_ appears to fix the problem. I’ll create a new post if I see related problems again.

---

_[View the full topic](https://forums.ankiweb.net/t/anki-2-1-56-release-candidate/26001)._
