Merge pull request #14432 from edx/christina/quality

Fix safe template warning.
This commit is contained in:
Christina Roberts
2017-01-31 14:35:16 -05:00
committed by GitHub

View File

@@ -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;