The code
<ol>
<li>
<answer>
<choiceInput selectMultiple shuffleOrder>
<label>Which of these are the variables in the problem?</label>
<choice credit="1"><m>t</m></choice>
<choice><m>g</m></choice>
<choice><m>v_0</m></choice>
<choice><m>x</m></choice>
<choice><m>y</m></choice>
</choiceInput>
</answer>
</li>
</ol>
produces the following:
Notice that the 1. is in a weird location.
Thanks for pointing this out. I’ve experienced variants of this issue that were less offensive but ignored them as best I could. Finally, I pointed Claude at the problem and it seems to have fixed it. The suggested changes are in this PR - Fix <ol>/<li> marker misaligning with a block choiceInput first child by anuragkatyal · Pull Request #1668 · Doenet/DoenetML · GitHub .
It seemed that problems and ols were being numbered differently and that was causing this behavior. The PR attempts to use the same numbering approach to both.
1 Like