mi proteggo da code injection

my-submodulepoetico
Guido Longoni 2023-07-03 17:12:33 +02:00
parent b58ac7ade9
commit 39437f51c3
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
}
container.classList.add(styleClass);
}
return $('<span class="' + styleClass + '">' + item.text + '</span>');
return $('<span class="' + styleClass + '"></span>').text(item.text);
}
});
});