aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-11-18 15:38:25 -0500
committerJesús <heckyel@hyperbola.info>2019-11-18 15:38:25 -0500
commitc76706b706a442dfbb87407a23edc80042a7e4e5 (patch)
tree154402007cc866baffeb5e30d941289f72d1d413
parenta6ca00fe04eac287b4d522d727a2ad154a471961 (diff)
downloadcl-c76706b706a442dfbb87407a23edc80042a7e4e5.tar.lz
cl-c76706b706a442dfbb87407a23edc80042a7e4e5.tar.xz
cl-c76706b706a442dfbb87407a23edc80042a7e4e5.zip
not strip HTML in comment
-rw-r--r--content/vendor/form-comments/commentsubmit.php2
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);