From 5e3778df38970c7ddaf6e1efdf086835e33545c9 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 10 Dec 2016 18:06:39 +0100 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20htmlentities=20:=20charset=20pa?= =?UTF-8?q?r=20d=C3=A9faut=20diff=C3=A9rent=20entre=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/lib/class_itext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lib/class_itext.php b/include/lib/class_itext.php index de639efeb..4d9fa966e 100644 --- a/include/lib/class_itext.php +++ b/include/lib/class_itext.php @@ -56,7 +56,7 @@ class IText extends HtmlInput ',$this->style, $this->id, $this->name, - $this->value, + htmlentities($this->value, ENT_COMPAT, "UTF-8"), $this->placeholder, $this->title, $this->size, @@ -70,7 +70,7 @@ class IText extends HtmlInput ',$this->style, $this->id, $this->name, - $this->value, + htmlentities($this->value, ENT_COMPAT, "UTF-8"), $this->placeholder, $this->title, $this->css_size,