Problème htmlentities : charset par défaut différent entre version

This commit is contained in:
Dany De Bontridder 2016-12-10 18:06:39 +01:00
parent 1f7c92700d
commit 5e3778df38

View file

@ -56,7 +56,7 @@ class IText extends HtmlInput
',$this->style, ',$this->style,
$this->id, $this->id,
$this->name, $this->name,
$this->value, htmlentities($this->value, ENT_COMPAT, "UTF-8"),
$this->placeholder, $this->placeholder,
$this->title, $this->title,
$this->size, $this->size,
@ -70,7 +70,7 @@ class IText extends HtmlInput
',$this->style, ',$this->style,
$this->id, $this->id,
$this->name, $this->name,
$this->value, htmlentities($this->value, ENT_COMPAT, "UTF-8"),
$this->placeholder, $this->placeholder,
$this->title, $this->title,
$this->css_size, $this->css_size,