Commit 6e6f8901 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

htmlentities pour les descriptions

parent 18ce9b83
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -99,7 +99,8 @@ if ($selection !== null) $categories = [$selection];
            <?php foreach ($array_parametre[$id] as $parametre) : ?>
                <tr>
                    <td>
                        <span title="<?php echo $parametre->getDescription(); ?>" data-bs-toggle="tooltip"
                        <?php $description = $parametre->getDescription(); if ($description !== null) $description = htmlentities($parametre->getDescription(), ENT_QUOTES); ?>
                        <span title="<?php echo $description; ?>" data-bs-toggle="tooltip"
                              data-bs-html="true" style="cursor: help;">
                            <?php echo $parametre->getLibelle(); ?>
                        </span>