# Math-mode formula in comment breaks incorrectly across lines

In the following comment, both summands should appear before the period: The source for the comment is:

$\DeclareMathOperator\Hom{Hom}$Proof of the well known fact: $\Hom_H(V_H, V_H) = \Hom_G(V_H^G, V) = \Hom_G(V \oplus (V \otimes \epsilon), V) = 1 + [V \otimes \epsilon \cong V]$.

I've asked a related question before, but, in that case, it was able to be resolved by displaying the window full-size. That does not work in this case. (In fact, re-sizing the window doesn't seem to change anything; I always see the period immediately after the $$1$$.)

EDIT: The display above is what it looks like in desktop macOS Firefox. Desktop Safari gives me a different, but still wrong, line break: It sure seems like the problems of overflowing math were fixed by giving each formula the maximum width that wouldn't overflow, and rendering it as a multi-line formula within that width if necessary—which is good!—but then the surrounding text needs also to be aware of this.

• I see that comment correctly, with the formula in one line and the dot at the end (and the line break before the formula). Which browser do you use?
– Stefan Kohl Mod
May 28 '21 at 20:51
• @StefanKohl, the first screenshot was from Firefox. I have now edited in what I see in Safari. Probably the conditions that trigger this bad breaking will be different depending on the particularities of the setups of different users, but I guess every user will probably see some variant of this some time. (It seems to be triggered when we would previously have seen overflowing math.) May 28 '21 at 20:58
• Is the way the comment is displayed different if you change the Math Renderer? This is what I see in Chrome with HTML-CSS: i.stack.imgur.com/xMla8.png May 29 '21 at 5:02