From: x2003bruneau Date: Tue, 27 Mar 2007 07:11:43 +0000 (+0000) Subject: Small html to plain-text before posting events X-Git-Tag: xorg/0.9.14~166 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b364aa9390de5833d798af1a1b29e7264122edd6;p=platal.git Small html to plain-text before posting events git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1620 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/validations/evts.inc.php b/include/validations/evts.inc.php index adf6a9f..f9c2441 100644 --- a/include/validations/evts.inc.php +++ b/include/validations/evts.inc.php @@ -151,9 +151,14 @@ class EvtReq extends Validate $forlife = get_user_forlife($this->uid); require_once 'banana/forum.inc.php'; $banana = new ForumsBanana($forlife); + $text = strip_tags($this->texte, '