From 215e4fdcfb6b539ae57640aec754ae2f4734e338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 18 Nov 2019 16:39:30 -0500 Subject: [PATCH] fix UTF-8 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 6c234fc..a40d9be 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -33,7 +33,7 @@ if(empty($_POST['name']) || $name = strip_tags(utf8_decode(htmlspecialchars($_POST['name']))); $link = strip_tags(htmlspecialchars($_POST['link'])); $email_address = strip_tags(htmlspecialchars($_POST['email'])); - $comment = $_POST['comment']; + $comment = utf8_decode($_POST['comment']); // article $postID = str_replace('/','',$post_id);