diff options
author | Jesús <heckyel@hyperbola.info> | 2019-11-18 15:38:25 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-11-18 15:38:25 -0500 |
commit | c76706b706a442dfbb87407a23edc80042a7e4e5 (patch) | |
tree | 154402007cc866baffeb5e30d941289f72d1d413 | |
parent | a6ca00fe04eac287b4d522d727a2ad154a471961 (diff) | |
download | cl-c76706b706a442dfbb87407a23edc80042a7e4e5.tar.lz cl-c76706b706a442dfbb87407a23edc80042a7e4e5.tar.xz cl-c76706b706a442dfbb87407a23edc80042a7e4e5.zip |
not strip HTML in comment
-rw-r--r-- | content/vendor/form-comments/commentsubmit.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |