MDL-45387 core_form: erroneous escaping on reference list
Fixed erroneous escaping in JS.
This commit is contained in:
@@ -1017,9 +1017,9 @@ M.form_filemanager.init = function(Y, options) {
|
||||
if (obj.references) {
|
||||
node.reflist = '';
|
||||
for (var i in obj.references) {
|
||||
node.reflist += '<li>'+obj.references[i]+'</li>';
|
||||
node.reflist += '<li>'+Y.Escape.html(obj.references[i])+'</li>';
|
||||
}
|
||||
selectnode.one('.fp-reflist .fp-value').setContent(Y.Escape.html(node.reflist));
|
||||
selectnode.one('.fp-reflist .fp-value').setContent(node.reflist);
|
||||
} else {
|
||||
selectnode.one('.fp-reflist .fp-value').setContent('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user