Equation rendering error in ChatGPT

I’m seeing bugs in rendering equations. The two attached images should be the same. If I have it generate as an image, it works. It looks like some of the formatting commands are showing up as text.

ok, the idiot forum software will only let me attach one image, since I’m new. I’ll try to add the other as a response.

Here is the correct expression