MDL-39507 questions: fix pluginfile URLs before format_text.
This commit is contained in:
committed by
Tim Hunt
parent
50ff861263
commit
6c23d0d403
@@ -333,7 +333,7 @@ abstract class question_definition {
|
||||
* @return string the equivalent plain text.
|
||||
*/
|
||||
public function html_to_text($text, $format) {
|
||||
return html_to_text(format_text($text, $format, array('noclean' => true)), 0, false);
|
||||
return to_plain_text($text, $format, array('noclean' => true));
|
||||
}
|
||||
|
||||
/** @return the result of applying {@link format_text()} to the question text. */
|
||||
|
||||
Reference in New Issue
Block a user