Text not wrapping to new line in MathJax

Things I have tried

Searched the forum: similar to a previous post (How to force MathJax equations to wrap to next line?)

What I’m trying to do

In the above post, it is noted that equations do not wrap to a new line in MathJax.

It appears that the same thing is happening for me using text in MathJax. If I use
$\text{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sodales pharetra lectus. Morbi et aliquam mauris. Suspendisse gravida elit purus, non consectetur lacus suscipit ut.}$ the text will continue off the side of the screen.

Using $$\text{...}$$ results in similar behaviour.

Is there any way to fix this? Toggling readable line length does not make a difference.