diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php index 8a43924f41a..d1ec270fd8b 100644 --- a/htdocs/compta/sociales/list.php +++ b/htdocs/compta/sociales/list.php @@ -525,7 +525,7 @@ while ($i < min($num, $limit)) { // Label if (!empty($arrayfields['cs.libelle']['checked'])) { - print ''.dol_trunc($obj->label, 42).''; + print ''.dol_escape_htmltag($obj->label).''; if (!$i) { $totalarray['nbfield']++; }