not strip HTML in comment
This commit is contained in:
parent
a6ca00fe04
commit
c76706b706
@ -32,8 +32,8 @@ if(empty($_POST['name']) ||
|
||||
|
||||
$name = strip_tags(utf8_decode(htmlspecialchars($_POST['name'])));
|
||||
$link = strip_tags(htmlspecialchars($_POST['link']));
|
||||
$comment = strip_tags(utf8_decode(htmlspecialchars($_POST['comment'])));
|
||||
$email_address = strip_tags(htmlspecialchars($_POST['email']));
|
||||
$comment = $_POST['comment'];
|
||||
|
||||
// article
|
||||
$postID = str_replace('/','',$post_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user