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,