MDL-39507 questions: fix pluginfile URLs before format_text.
This commit is contained in:
committed by
Tim Hunt
parent
cda44a165a
commit
4cb50d230b
+2
-2
@@ -936,8 +936,8 @@ class qformat_default {
|
||||
global $DB;
|
||||
$formatoptions = new stdClass();
|
||||
$formatoptions->noclean = true;
|
||||
return html_to_text(format_text($question->questiontext,
|
||||
$question->questiontextformat, $formatoptions), 0, false);
|
||||
return to_plain_text($question->questiontext,
|
||||
$question->questiontextformat, $formatoptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user