Commit 0f3eb6e9 by cahrens

Fix safe template warning.

parent 823a4316
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment