noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par défaut différent entre version
Date: Sat, 4 Feb 2017 17:14:26 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 8be6affc4cc317c4d437b6d4ca984e5d4818f806
Author: Dany De Bontridder <address@hidden>
Date:   Sat Dec 10 18:06:39 2016 +0100

    Problème htmlentities : charset par défaut différent entre version
---
 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 de639ef..4d9fa96 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]