From c76706b706a442dfbb87407a23edc80042a7e4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 18 Nov 2019 15:38:25 -0500 Subject: [PATCH] not strip HTML in comment --- content/vendor/form-comments/commentsubmit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index fefd7e3..6c234fc 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -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);