From dbb8bb783f2f22b68ad2d65f020390428e77c479 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Wed, 3 Nov 2010 01:03:45 -0400 Subject: TU: Use htmlspecialchars instead of htmlentities. Let the utf8 shine through. Signed-off-by: Loui Chang --- web/template/tu_list.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'web/template/tu_list.php') 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)); ?> '> -- cgit v1.2.3-24-g4f1b