From 9581c9d3e7365162c4c9c3c739da1509c27ef64c Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Wed, 28 Nov 2012 14:19:35 -0400 Subject: [PATCH] BUG 7222 Etiquetas con HTML muestran caracteres html extra en las filas SOLVED - El valor que se coloca en el atributo pm:label no estaba siendo validado - El valor ahora es validado usando entidades --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 56c7ea2a2..589007a0c 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -807,7 +807,7 @@ class XmlForm_Field public function NSGridLabel ($show = false) { - $idv = 'pm:label="' . $this->pmLabel . '"'; + $idv = 'pm:label="' . htmlentities($this->pmLabel, ENT_COMPAT, 'utf-8') . '"'; if ($show) { return $idv; } else {