From 70f4e5eda2b12a126df1e1b95f8eb2451bc275f4 Mon Sep 17 00:00:00 2001 From: vbracco Date: Fri, 20 Jul 2007 11:42:34 +0000 Subject: [PATCH] Change htmlentities with htmlspecialchars --- admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index c80f958..29816a5 100644 --- a/admin/index.php +++ b/admin/index.php @@ -237,7 +237,7 @@ if ($user->isAdmin()) { } $date = ($isEdition) ? strtotime($post["date"]) : time(); - $title = ($isEdition) ? htmlentities(stripslashes($post["title"])) : ""; + $title = ($isEdition) ? htmlspecialchars(stripslashes($post["title"])) : ""; $body = ($isEdition) ? stripslashes($post["description"]) : ""; $url = ($isEdition) ? $post["url"] : "";