MDL-44573: Remove HTML tags in outputs column in offline grading worksheet
This commit is contained in:
@@ -695,7 +695,11 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$outcomes .= $this->output->container($outcome->name . ': ' . $select, 'outcome');
|
||||
} else {
|
||||
$name = $outcome->name . ': ' . $options[$outcome->grades[$row->userid]->grade];
|
||||
$outcomes .= $this->output->container($name, 'outcome');
|
||||
if ($this->is_downloading()) {
|
||||
$outcomes .= $name;
|
||||
} else {
|
||||
$outcomes .= $this->output->container($name, 'outcome');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user