mi proteggo da code injection
parent
b58ac7ade9
commit
39437f51c3
|
|
@ -47,7 +47,7 @@
|
|||
}
|
||||
container.classList.add(styleClass);
|
||||
}
|
||||
return $('<span class="' + styleClass + '">' + item.text + '</span>');
|
||||
return $('<span class="' + styleClass + '"></span>').text(item.text);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue