-
Improvement
-
Resolution: Done
-
Minor
-
2.7.3, 2.8, 3.3
-
None
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
At some point, Moodle's "format_text" api began using another argument to specify cleaning options. As a result, questionnaire's use of this is very restrictive, and will remove code like embedded iframes from all output. This includes output created by "trusted" roles like teachers. This means that question text and information sections may lose HTML code entered in to them by trusted roles. Go through and add "array('noclean' => true)" as a third argument to "format_text" where applicable.