MDL-39507 questions: fix pluginfile URLs before format_text.

This commit is contained in:
Jean-Michel Vedrine
2013-08-12 10:37:11 +01:00
committed by Tim Hunt
parent cda44a165a
commit 4cb50d230b
6 changed files with 19 additions and 12 deletions
+2 -2
View File
@@ -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);
}
}