Change htmlentities with htmlspecialchars

master
vbracco 2007-07-20 11:42:34 +00:00
parent 2f150108c3
commit 70f4e5eda2
1 changed files with 1 additions and 1 deletions

View File

@ -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"] : "";