This commit is contained in:
Ilya Tregubov 2023-08-10 09:10:25 +08:00 committed by Huong Nguyen
commit 04cdf6889d
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -1447,10 +1447,8 @@ class qformat_xml extends qformat_default {
$expout .= " <correctanswerlength>" .
$answer->correctanswerlength . "</correctanswerlength>\n";
$expout .= " <feedback {$this->format($answer->feedbackformat)}>\n";
$files = $fs->get_area_files($contextid, $component,
'instruction', $question->id);
$expout .= $this->writetext($answer->feedback);
$expout .= $this->write_files($answer->feedbackfiles);
$expout .= $this->write_files($this->feedbackfiles[$answer->id]);
$expout .= " </feedback>\n";
$expout .= "</answer>\n";
}