We also need to escape the JS at this point

This commit is contained in:
Garvin Hicking 2015-03-12 12:23:05 +01:00
parent 18bdf03623
commit 94eb2b32de

View File

@ -640,6 +640,7 @@
if ($selected.length > 0) {
$selected.each(function() {
var catText = $(this).next('label').text();
catText = $('<span>').text(catText).html();
$('<li class="selected">'+ catText +'</li>').appendTo($target);
});
} else {