When I create a math equation in a cloze, if it contains more than one nested bracket pair then it’s not displayed correctly after the card is created (the inline displaying works correctly but the bug is already visible in the preview).
For example {{c1::<anki-mathjax>{a}</anki-mathjax>}}
is displayed correctly, while {{c1::<anki-mathjax>{{a}}</anki-mathjax>}}
results in
I’m on Anki Version 23.12.1 (1a1d4d54) on Linux Fedora 40 machine.