# \<div\>\</div\> makes it difficult to create matjax underneath list

**URL:** <https://forums.ankiweb.net/t/div-div-makes-it-difficult-to-create-matjax-underneath-list/26607>\
**Category:** Help\
**Created:** [January 21, 2023, 12:30pm UTC](https://forums.ankiweb.net/t/div-div-makes-it-difficult-to-create-matjax-underneath-list/26607 "2023-01-21T12:30:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![relevartt](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@relevartt](https://forums.ankiweb.net/u/relevartt)\
**Post date:** [January 21, 2023, 12:30pm UTC](https://forums.ankiweb.net/t/div-div-makes-it-difficult-to-create-matjax-underneath-list/26607/1 "2023-01-21T12:30:23Z")

</div>

After I’ve created a list, underneath that list, when I create a new mathjax using ctrl+m+m, I’m automatically pushed to the next line (as if I hit enter). This makes it very frustrating to write and edit mathjax-heavy text underneath a list. After a lot of frustration I found out that deleting the “div” code that for some reason surrounds my \< div \>“insert mathjax-heavy text”\< /div \> under a list, solves the problem. Of course this is irritating and I hope it can be fixed. Thanks.

---

<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 21, 2023, 1:13pm UTC](https://forums.ankiweb.net/t/div-div-makes-it-difficult-to-create-matjax-underneath-list/26607/2 "2023-01-21T13:13:03Z")

</div>

I reported this bug a few days ago。  
[Mathjax bug collection · Issue #2325 · ankitects/anki (github.com)](https://github.com/ankitects/anki/issues/2325)

---

<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 20, 2023, 1:13pm UTC](https://forums.ankiweb.net/t/div-div-makes-it-difficult-to-create-matjax-underneath-list/26607/3 "2023-02-20T13:13:35Z")

</div>

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