HtmlInput::get_node_attribute protect the attribute with htmlentity

This commit is contained in:
sparkyx 2024-08-09 14:02:53 +02:00
parent 018b727c7c
commit a596b020c4

View file

@ -1210,7 +1210,7 @@ class HtmlInput
for ($i=0; $i<$nb_attribute; $i++)
{
$r.=sprintf(' %s="%s" ', $this->attribute[$i][0],
$this->attribute[$i][1]);
htmlentities($this->attribute[$i][1]));
}
return $r;
}