Fix 44987: Dynamic rendering of MathJax 3 fails
See https://mantis.ilias.de/view.php?id=44987
Both Mathjax 2 and 3 are supported. The rendering calls are centralized in Basic.js where the MathJax rendering is already called for the print view of a page. This is fixed for MathJax 3, too.
The following affected components need a review and approval by their authorities:
Services/Accordion - no authority, Looking for Shepherd Modules/Test - @kergomard Modules/Scorm2004 - @qualitus-dahme Services/COPage - @alex40724 Services/JavaScript - no authority, Looking for Shepherd
@alex40724: you were formerly noted as implict maintainer for Accordion. Perhaps you can say something about the need for reprocessing MathJax when an accordion is opened.
@alex40724 could you have a short review of Services/COPage/templates/default/tpl.question_export.html? It just replaces repeated code with the call of a central fucnction.
I'll tend to this PR as a shepherd for Services/JavaScript.
Many thanks @fwolf-ilias for the review. I added the license header. Still waiting for an approval of the changes in Services/COPage.
Hi @alex40724, we meanwhile get more issues from institutions that switched to MathJax 3. Could you please review the changes in Services/COPage?