Merge pull request #14432 from edx/christina/quality
Fix safe template warning.
This commit is contained in:
@@ -1043,7 +1043,8 @@
|
||||
} else if (!$inputLabel.hasClass('choicegroup_correct')) {
|
||||
// If the status HTML is not already present (due to clicking Submit), append
|
||||
// the status HTML for correct answers.
|
||||
results.push($inputLabel.addClass('choicegroup_correct').append(correctStatusHtml));
|
||||
edx.HtmlUtils.append($inputLabel, edx.HtmlUtils.HTML(correctStatusHtml));
|
||||
results.push($inputLabel.addClass('choicegroup_correct'));
|
||||
}
|
||||
}
|
||||
return results;
|
||||
|
||||
Reference in New Issue
Block a user