Hi to all,
I am experiencing a problem with Tex equations using Mathjax in quiz activity.
I only use additional HTML code for putting Mathjax into my pages. Alterations to themes concerning Mathjax haven't been made. The additional HTML code is:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
MMLorHTML: { prefer: "HTML" },
tex2jax: {displayMath: '@d','@d', inlineMath: $$','$$
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
If I use Tex equations into a multiple choice equation, when the answer of the quiz appears to the student, there is an unrendered extra piece of the Tex code after the Mathjax properly rendered equation (It can be seen to the next picture). This code appears when I use chrome browser and there aren't any another significant issues.
With firefox browser the problem is worse because the code inputs large gaps into the page (look at the next image)
Is there any solution to that mysterious behaviour? I use Mathjax into other pages with no problem.