diff --git a/web/template/tu_details.php b/web/template/tu_details.php index 0016dfe8..315e1b90 100644 --- a/web/template/tu_details.php +++ b/web/template/tu_details.php @@ -21,7 +21,7 @@ N/A :

-\n", htmlentities($row['Agenda'])) ?> +\n", htmlspecialchars($row['Agenda'])) ?>

diff --git a/web/template/tu_list.php b/web/template/tu_list.php index f734cec5..f64d3834 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -20,11 +20,7 @@
= $prev_Len) { - $row["Agenda"] = htmlentities(substr($row["Agenda"], 0, $prev_Len)) . "..."; - } else { - $row["Agenda"] = htmlentities($row["Agenda"]); - } + $row["Agenda"] = htmlspecialchars(substr($row["Agenda"], 0, $prev_Len)); ?> '>