Duplicate latex (occasionally) doesn't render

This one is rather weird, and hard to reproduce.

If I enter the same latex twice on a page, one of them doesn’t render. I found it happens on longer latex expressions.

Here is an example (it sometimes renders and sometimes doesn’t):

Here is the full text for you:

My latex one:
$$x^2 + y^2 + z^2 + a^2 + b^2 + c^2 + e^2 + f^2 + g^2 + h^2+ h^2$$
end of latex one.

My latex two:

$$x^2 + y^2 + z^2 + a^2 + b^2 + c^2 + e^2 + f^2 + g^2 + h^2+ h^2$$
end of latex two.

A post was merged into an existing topic: Math LaTeX does not show some text