When displaying an a core (mod_h5pactivity) H5P Accordion activity containing LaTeX markup, the formatted LaTeX displays correctly in desktop view with MathJax filter enabled, but in the Moodle Mobile App it only displays the markup, not the properly formatted LaTeX symbols.
(NOTE: Conversely, the non-core mod_hvp activity does display the properly formatted LaTeX symbols in the Moodle Mobile App.)
REPRODUCTION STEPS:
- Create an H5P object using an H5P Editor (e.g. using the mod_hvp editor) and save the H5P object.
- Ensure the H5P Accordion activity is used.
- Enter some LaTeX markup in the Text field.
- Create a core H5P Activity (i.e. mod_h5pactivity) and use the H5P object you've created.
- Save and display the activity on desktop view.
- Ensure the formula is displayed properly as LaTeX symbols.
- View the same activity in Moodle Mobile App.
- Ensure the formula is displayed properly as LaTeX symbols.
Example markup:
\( f(x) = \frac{A_0}{2} + \sum \limits_{n=1}^{\infty} A_n \cos \left( \frac{2 n \pi x}{\nu} - \alpha_n \right) \) |
EXPECTED RESULT:
For steps (4) and (6), it is expected that the proper formula displays as LaTeX symbols in both desktop and mobile.
ACTUAL ISSUE:
Step (6) instead displays the unformatted markup, instead of LaTeX symbols.
- duplicates
-
MOBILE-3552 H5P ignores TEX-Formulas in App but not in Browser
- Closed