Change htmlentities with htmlspecialchars
parent
2f150108c3
commit
70f4e5eda2
|
|
@ -237,7 +237,7 @@ if ($user->isAdmin()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$date = ($isEdition) ? strtotime($post["date"]) : time();
|
$date = ($isEdition) ? strtotime($post["date"]) : time();
|
||||||
$title = ($isEdition) ? htmlentities(stripslashes($post["title"])) : "";
|
$title = ($isEdition) ? htmlspecialchars(stripslashes($post["title"])) : "";
|
||||||
$body = ($isEdition) ? stripslashes($post["description"]) : "";
|
$body = ($isEdition) ? stripslashes($post["description"]) : "";
|
||||||
$url = ($isEdition) ? $post["url"] : "";
|
$url = ($isEdition) ? $post["url"] : "";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue