One-by-one note type improperly displaying MathJax equation
Anking one-by-one note type
As the title says, in trying to use the one-by-one note type (which should obscure the items I want to then reveal one-by-one) the card type fails to obscure part of that card that is an equation written in Mathjax. It is otherwise hidden just find in other note types (Cloze, etc.).
Whereas all the other clozes are kept hidden behind the hint, or the crown emoji, the equation is fully revealed which is undesirable as it prevents the card from being usable. Card functions perfectly if I use it as a plain cloze style.
Any hints or suggestions welcome, though my instinct is that, the clozes being inside the mathjax formula is part of what's triggering it.
Checklist
Please replace the space inside the brackets with an x if the following items apply:
- [x ] I've restarted Anki to see if it helps
- [x] I've verified that I use the latest version of the note type by redownloading it from AnkiWeb
- [x] I've tried to disable add-ons to see if there are any interactions present
- [ ] My issue disappears when I hold shift while starting Anki.
- [x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Version 23.12.1 (1a1d4d54)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below
2.1.##
What Operating system are you using? (i.e. MacOS, Windows, Linux)
Mac OS 14.1.1
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below:
@abdnh could look into this to see if there is a reasonable fix?
There's no practical solution for this because of way MathJax clozes are handled by Anki. Basically on the back side such clozes are not marked by Anki with the cloze HTML class or anything indicating they are clozes, so we can't find and manipulate them reliably. Related Anki issue that was recently closed with no fix: https://github.com/ankitects/anki/issues/2650