Closed a-kempka closed 6 months ago
The main reason for this is that the feedback in the matrix question renderer (question/type/matrix/renderer.php) has not been reformulated so that the installed Moodle filters can recognize and process these texts. The short name and description of each line have been formatted by the format_text function, so these filters can be applied to short names and descriptions, but not to feedback.
I created the pull request 69 (https://github.com/ndunand/moodle-qtype_matrix/pull/69) to resolve this issue.
Fixed by #69, thank you @minhduchoang195 !
When inserting any text into an item's feedback the text does not seem to be processed by filters:
$$ \sqrt(x) $$
, shows the source code instead of the processed Tex«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msqrt»«mi»x«/mi»«/msqrt»«/math»
, instead of the rendered formulaThis is unexpected, since the feedback is formatted with an Atto Editor supplying options for formatting. This is inconsistent as TeX and filters work within the items' text or the question's description