Mathjax on the same line causes period breaks to a new line

I’m not sure I understand what do you mean. In LTR the comma should be on the right side and in RTL it should be on the left side. Both of the versions look ok becuase the box is wide open. The issue happens when the box breaks (adds new line) between the formula and the comma (try to play with the width of the window and see if its breaks between the formula and the comma).
Thank you for your help :slight_smile: