From b48c22596b86076d96b906041359c0e9cfac3092 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 26 Sep 2000 12:48:30 +0000
Subject: [PATCH] While editing my diary, I figured out I forgot a
 stripslashes.

---
 function.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/function.inc b/function.inc
index d2f0d6458ae3..4caf5391cce9 100644
--- a/function.inc
+++ b/function.inc
@@ -31,7 +31,7 @@ function FixQuotes ($what = "") {
 
 function check($message) {
   include "config.inc";
-  return nl2br(strip_tags($message, $allowed_html));
+  return nl2br(strip_tags(stripslashes($message, $allowed_html)));
 }
 
 function discussion_num_replies($id, $count = 0) {
-- 
GitLab