
Type: Bug

Status: Closed

Priority: Major

Resolution: Fixed

Affects Version/s: 2.7.2, 2.7.7, 2.8.5

Component/s: Maths filters, Questions

Testing Instructions:

Affected Branches:MOODLE_27_STABLE, MOODLE_28_STABLE

Fixed Branches:MOODLE_27_STABLE, MOODLE_28_STABLE

Pull from Repository:

Pull Master Branch:
MDL47712master 
Pull Master Diff URL:

Sprint:FRONTEND Sprint 16, Team B Sprint 1, Team Beards Sprint 2

Issue size:Large
MathJax will not render math if this math is inside an itemized list of a cloze question, and there's no math outside the list.
Please see attached image. I've created a quiz with 4 questions containing basically the same text:
 1st one is a description question, with text containing embedded math
 2nd one is the malfunctioning cloze question. It has only an itemized list with 2 items, and the second one has an equation. The equation is not rendered.
 3rd question is the same as above, but with a textonly paragraph before the list. Same behaviour, even changing the itemized list into a enumerated one.
 4th question: Same as 2nd, but embedding an equation into the first paragraph's text. Now the two equations are correctly rendered.
My system:
Test Quiz Filter settings are as follows:
TeX notation OFF (1st place)
MathJax ON (2nd place)
The question text of the malfunctioning cloze question is (in HTML format):
—
<ul><li>The <b>audio band frequency range </b>is:
.</li><li>The<b> capacitor's AC impedance</b> is: ( Z_C(j\omega )= )
{1:MULTICHOICE:~%0%\(j/(2\pi fC)\)~%100%\(j/(2\pi fC)\)~%0%\(j2\pi fC\)~%0%\(j2\pi fC\)}.</li></ul>
—
 Testing discovered

MDL48552 filter_mathjaxloader needs to explain why it works the way it does
 Open