[BUG] Undoing cloze duplicates mathjax

anki_oNBWijIonN

Undoing creating a cloze containing mathjax copys all the mathjax to the beginning.

Some x and y{{c1::Some x and y}} → (undo) → xySome x and y

1 Like

It would be most helpful to see what is happening at each stage the HTML view of the field.

Sounds similar to –

And possibly –

1 Like
  1. Some&nbsp;<anki-mathjax>x</anki-mathjax>&nbsp;and&nbsp;<anki-mathjax>y</anki-mathjax>.
  2. {{c1::Some&nbsp;<anki-mathjax>x</anki-mathjax>&nbsp;and&nbsp;<anki-mathjax>y</anki-mathjax>.}}
  3. <anki-mathjax>x</anki-mathjax><anki-mathjax>y</anki-mathjax>Some&nbsp;<anki-mathjax>x</anki-mathjax>&nbsp;and&nbsp;<anki-mathjax>y</anki-mathjax>.

Perhaps the root cause is the same, but they look distinct to me.

1 Like