Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.5
-
-
MOODLE_39_STABLE
-
MOODLE_400_STABLE
-
Moodle App 4.0
Description
In one of our BMA sites, the MathJax preview contains a link with an image inside. Clicking this link opens the system browser:
<span class="MathJax_Preview">
<a href="MYSITE/filter/tex/displaytex.php?texexp=...">
<img class="texrender" src="MYSITE/filter/tex/pix.php/cf7450a1710cca59933a2309a53dfc83.gif" />
</a>
</span>
In web, this content is removed and replaced by an HTML version of the equation (using svg and so on). I don't know why it doesn't happen the same in the app, in theory we apply the MathJax library to the content but it does nothing. Maybe it's because of some configuration in the site, in our testing sites the app receives the original MathJax content, not an image, and it is replaced by an HTML version of the equation.
As a workaround we decided to disable clicks in links in MathJax.