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
This commit is contained in:
@@ -807,7 +807,7 @@ class XmlForm_Field
|
|||||||
|
|
||||||
public function NSGridLabel ($show = false)
|
public function NSGridLabel ($show = false)
|
||||||
{
|
{
|
||||||
$idv = 'pm:label="' . $this->pmLabel . '"';
|
$idv = 'pm:label="' . htmlentities($this->pmLabel, ENT_COMPAT, 'utf-8') . '"';
|
||||||
if ($show) {
|
if ($show) {
|
||||||
return $idv;
|
return $idv;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user