# "Ctrl+Z" bug about mathjax within the same \<p\> tag

**URL:** <https://forums.ankiweb.net/t/ctrl-z-bug-about-mathjax-within-the-same-p-tag/26236>\
**Category:** Help\
**Created:** [January 11, 2023, 5:03pm UTC](https://forums.ankiweb.net/t/ctrl-z-bug-about-mathjax-within-the-same-p-tag/26236 "2023-01-11T17:03:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhangpengfei](https://avatars.discourse-cdn.com/v4/letter/z/c89c15/32.png) [@Zhangpengfei](https://forums.ankiweb.net/u/Zhangpengfei)\
**Post date:** [January 11, 2023, 5:03pm UTC](https://forums.ankiweb.net/t/ctrl-z-bug-about-mathjax-within-the-same-p-tag/26236/1 "2023-01-11T17:03:17Z")

</div>

In the version ⁨2.1.56 (07fd88dd)⁩,When I pressed Enter then pressed the Undo key,the mathjax content under the position pressed Enter all disappeared.It only happened when these mathjax included in a same \<p\> \</p\> tag.  
 ![GIF 1-12-2023 12-22-49 AM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/d3335d8a4d95443ece610f9641422a71eb79f348.gif)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 13, 2023, 5:12am UTC](https://forums.ankiweb.net/t/ctrl-z-bug-about-mathjax-within-the-same-p-tag/26236/2 "2023-01-13T05:12:01Z")

</div>

I’ve added this to [MathJax deletion can not be undone · Issue #1941 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/1941)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [February 12, 2023, 5:12am UTC](https://forums.ankiweb.net/t/ctrl-z-bug-about-mathjax-within-the-same-p-tag/26236/3 "2023-02-12T05:12:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
