Closed
Description
The MathJax tex2jax converter inserts preview elements right before jaxes to display while MathJax is loading (or to noscript users). Do the same:
if type == :block
converter.format_as_block_html('div', {:class=>'MathJax_Preview'}, converter.escape_html(el.value), opts[:indent])+converter.format_as_block_html('script', attr, text, opts[:indent])
else
converter.format_as_span_html('span', {:class=>'MathJax_Preview'}, converter.escape_html(el.value))+converter.format_as_span_html('script', attr, text)
end