wrap images in MathJax_Preview spans for smoother UX